All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

CATIAV4Interfaces Class CATV4iV4Element

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---System.CATEventSubscriber
        |
        +---ObjectModelerBase.CATImplementationAdapter
          |
          +---ObjectModelerBase.CATObject
            |
            +---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()
o CATV4iV4Element(CATBaseUnknown*)
Constructs a CATV4iV4Element from a CATBaseUnknown.
o ~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()
o CATV4iV4Element
public CATV4iV4Element( const CATBaseUnknown* iElement)
Constructs a CATV4iV4Element from a CATBaseUnknown.
Parameters:
ielement
the element that correspond to the v4 element
o ~CATV4iV4Element
public virtual ~CATV4iV4Element()

Methods


o GetId
public CATString GetId()const
Returns the identificator of the corresponding V4 element.
o GetLayer
public void GetLayer(int& oLayer) const
Retrieves the layer's number of the corresponding V4 element.
Parameters:
oLayer
[out] The layer of the V4 element
o GetType
public void GetType(int& oTypePrim,
int& oTypeSec) const
Retrieves the types of the corresponding V4 element.
Parameters:
oTypePrim
[out] The primary type
oTypeSec
[out] The secondary type
o IsASpline
public int IsASpline()const
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 CATBoolean IsValid()const
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: CATV4iServices

Copyright © 2003, Dassault Systèmes. All rights reserved.