CATIAV4Interfaces CATV4iV4Element

Usage: you must use this class as is. You should never derive it.


public class CATV4iV4Element

Class to construct objects that corresponds to V4 elements.

Role: These objects are able to retrieve information about the corresponding V4 element. This information concerns the identificator, the types, the description


Constructor and Destructor Index


o CATV4iV4Element()
Default constructor of CATV4iV4Element.
o CATV4iV4Element(CATBaseUnknown*)
Constructs a CATV4iV4Element from a CATBaseUnknown.
o CATV4iV4Element(CATV4iV4Element&)
Copy constructor of a CATV4iV4Element.
o ~CATV4iV4Element()
Destructor of the CATV4iV4Element.

Method Index


o GetId()
Returns the identificator of the corresponding V4 element.
o GetLayer(int&)
Retrieves the layer's number of the corresponding V4 element.
o GetType(int&,int&)
Retrieves the types of the corresponding V4 element.
o IsASpline()
Returns the type of the spline.
o IsValid()
Returns the validity of the element.

Constructor and Destructor


o CATV4iV4Element
public CATV4iV4Element()
Default constructor of CATV4iV4Element.
o CATV4iV4Element
public CATV4iV4Element( const iElement)
Constructs a CATV4iV4Element from a CATBaseUnknown.
Parameters:
iElement
the element that correspond to the v4 element
o CATV4iV4Element
public CATV4iV4Element( iElement)
Copy constructor of a CATV4iV4Element.
Parameters:
iElement
the element that correspond to the v4 element to copy
o ~CATV4iV4Element
public virtual ~CATV4iV4Element()
Destructor of the CATV4iV4Element.

Methods


o GetId
public GetId()
Returns the identificator of the corresponding V4 element.
o GetLayer
public GetLayer( oLayer)
Retrieves the layer's number of the corresponding V4 element.
Parameters:
oLayer
[out] The layer of the V4 element
o GetType
public GetType( oTypePrim,
oTypeSec)
Retrieves the types of the corresponding V4 element.
Parameters:
oTypePrim
[out] The primary type
oTypeSec
[out] The secondary type
o IsASpline
public IsASpline()
Returns the type of the spline.
Returns:
  • 0 : The element is not a spline
  • 1 : The element is a spline
  • 2 : The element is a spline
o IsValid
public IsValid()
Returns the validity of the element.
Role: This condition must evaluate TRUE if the corresponding V4 elements is valid.

This object is included in the file: CATV4iV4Element.h
If needed, your Imakefile.mk should include the module: CATV4iV4Interfaces

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.