Open CASCADE Technology  7.7.0
Public Member Functions

StepVisual_TriangulatedFace Class Reference

Representation of STEP entity TriangulatedFace. More...

#include <StepVisual_TriangulatedFace.hxx>

Inheritance diagram for StepVisual_TriangulatedFace:
Inheritance graph
[legend]

Public Member Functions

 StepVisual_TriangulatedFace ()
 default constructor More...
 
void Init (const Handle< TCollection_HAsciiString > &theRepresentationItem_Name, const Handle< StepVisual_CoordinatesList > &theTessellatedFace_Coordinates, const Standard_Integer theTessellatedFace_Pnmax, const Handle< TColStd_HArray2OfReal > &theTessellatedFace_Normals, const Standard_Boolean theHasTessellatedFace_GeometricLink, const StepVisual_FaceOrSurface &theTessellatedFace_GeometricLink, const Handle< TColStd_HArray1OfInteger > &thePnindex, const Handle< TColStd_HArray2OfInteger > &theTriangles)
 Initialize all fields (own and inherited) More...
 
Handle< TColStd_HArray1OfInteger > Pnindex () const
 Returns field Pnindex. More...
 
void SetPnindex (const Handle< TColStd_HArray1OfInteger > &thePnindex)
 Sets field Pnindex. More...
 
Standard_Integer NbPnindex () const
 Returns number of Pnindex. More...
 
Standard_Integer PnindexValue (const Standard_Integer theNum) const
 Returns value of Pnindex by its num. More...
 
Handle< TColStd_HArray2OfInteger > Triangles () const
 Returns field Triangles. More...
 
void SetTriangles (const Handle< TColStd_HArray2OfInteger > &theTriangles)
 Sets field Triangles. More...
 
Standard_Integer NbTriangles () const
 Returns number of Triangles. More...
 
- Public Member Functions inherited from StepVisual_TessellatedFace
 StepVisual_TessellatedFace ()
 default constructor More...
 
void Init (const Handle< TCollection_HAsciiString > &theRepresentationItem_Name, const Handle< StepVisual_CoordinatesList > &theCoordinates, const Standard_Integer thePnmax, const Handle< TColStd_HArray2OfReal > &theNormals, const Standard_Boolean theHasGeometricLink, const StepVisual_FaceOrSurface &theGeometricLink)
 Initialize all fields (own and inherited) More...
 
Handle< StepVisual_CoordinatesListCoordinates () const
 Returns field Coordinates. More...
 
void SetCoordinates (const Handle< StepVisual_CoordinatesList > &theCoordinates)
 Sets field Coordinates. More...
 
Standard_Integer Pnmax () const
 Returns field Pnmax. More...
 
void SetPnmax (const Standard_Integer thePnmax)
 Sets field Pnmax. More...
 
Handle< TColStd_HArray2OfReal > Normals () const
 Returns field Normals. More...
 
void SetNormals (const Handle< TColStd_HArray2OfReal > &theNormals)
 Sets field Normals. More...
 
Standard_Integer NbNormals () const
 Returns number of Normals. More...
 
StepVisual_FaceOrSurface GeometricLink () const
 Returns field GeometricLink. More...
 
void SetGeometricLink (const StepVisual_FaceOrSurface &theGeometricLink)
 Sets field GeometricLink. More...
 
Standard_Boolean HasGeometricLink () const
 Returns True if optional field GeometricLink is defined. More...
 
- Public Member Functions inherited from StepVisual_TessellatedStructuredItem
 StepVisual_TessellatedStructuredItem ()
 default constructor More...
 
- Public Member Functions inherited from StepVisual_TessellatedItem
 StepVisual_TessellatedItem ()
 Returns a DraughtingCalloutElement select type. More...
 
- Public Member Functions inherited from StepGeom_GeometricRepresentationItem
 StepGeom_GeometricRepresentationItem ()
 Returns a GeometricRepresentationItem. More...
 
- Public Member Functions inherited from StepRepr_RepresentationItem
 StepRepr_RepresentationItem ()
 Returns a RepresentationItem. More...
 
void Init (const Handle< TCollection_HAsciiString > &aName)
 
void SetName (const Handle< TCollection_HAsciiString > &aName)
 
Handle< TCollection_HAsciiStringName () const
 
- Public Member Functions inherited from Standard_Transient
 Standard_Transient ()
 Empty constructor. More...
 
 Standard_Transient (const Standard_Transient &)
 Copy constructor – does nothing. More...
 
Standard_Transientoperator= (const Standard_Transient &)
 Assignment operator, needed to avoid copying reference counter. More...
 
virtual ~Standard_Transient ()
 Destructor must be virtual. More...
 
virtual void Delete () const
 Memory deallocator for transient classes. More...
 
virtual const opencascade::handle< Standard_Type > & DynamicType () const
 Returns a type descriptor about this object. More...
 
Standard_Boolean IsInstance (const opencascade::handle< Standard_Type > &theType) const
 Returns a true value if this is an instance of Type. More...
 
Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName. More...
 
Standard_Boolean IsKind (const opencascade::handle< Standard_Type > &theType) const
 Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
Standard_Boolean IsKind (const Standard_CString theTypeName) const
 Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
Standard_TransientThis () const
 Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero. More...
 
Standard_Integer GetRefCount () const
 Get the reference counter of this object. More...
 
void IncrementRefCounter () const
 Increments the reference counter of this object. More...
 
Standard_Integer DecrementRefCounter () const
 Decrements the reference counter of this object; returns the decremented value. More...
 

Additional Inherited Members

- Public Types inherited from Standard_Transient
typedef void base_type
 Returns a type descriptor about this object. More...
 
- Static Public Member Functions inherited from Standard_Transient
static const char * get_type_name ()
 Returns a type descriptor about this object. More...
 
static const opencascade::handle< Standard_Type > & get_type_descriptor ()
 Returns type descriptor of Standard_Transient class. More...
 

Detailed Description

Representation of STEP entity TriangulatedFace.

Constructor & Destructor Documentation

◆ StepVisual_TriangulatedFace()

StepVisual_TriangulatedFace::StepVisual_TriangulatedFace ( )

default constructor

Member Function Documentation

◆ Init()

void StepVisual_TriangulatedFace::Init ( const Handle< TCollection_HAsciiString > &  theRepresentationItem_Name,
const Handle< StepVisual_CoordinatesList > &  theTessellatedFace_Coordinates,
const Standard_Integer  theTessellatedFace_Pnmax,
const Handle< TColStd_HArray2OfReal > &  theTessellatedFace_Normals,
const Standard_Boolean  theHasTessellatedFace_GeometricLink,
const StepVisual_FaceOrSurface theTessellatedFace_GeometricLink,
const Handle< TColStd_HArray1OfInteger > &  thePnindex,
const Handle< TColStd_HArray2OfInteger > &  theTriangles 
)

Initialize all fields (own and inherited)

◆ NbPnindex()

Standard_Integer StepVisual_TriangulatedFace::NbPnindex ( ) const

Returns number of Pnindex.

◆ NbTriangles()

Standard_Integer StepVisual_TriangulatedFace::NbTriangles ( ) const

Returns number of Triangles.

◆ Pnindex()

Handle< TColStd_HArray1OfInteger > StepVisual_TriangulatedFace::Pnindex ( ) const

Returns field Pnindex.

◆ PnindexValue()

Standard_Integer StepVisual_TriangulatedFace::PnindexValue ( const Standard_Integer  theNum) const

Returns value of Pnindex by its num.

◆ SetPnindex()

void StepVisual_TriangulatedFace::SetPnindex ( const Handle< TColStd_HArray1OfInteger > &  thePnindex)

Sets field Pnindex.

◆ SetTriangles()

void StepVisual_TriangulatedFace::SetTriangles ( const Handle< TColStd_HArray2OfInteger > &  theTriangles)

Sets field Triangles.

◆ Triangles()

Handle< TColStd_HArray2OfInteger > StepVisual_TriangulatedFace::Triangles ( ) const

Returns field Triangles.


The documentation for this class was generated from the following file: