Open CASCADE Technology
7.7.0
|
Representation of STEP entity TriangulatedFace. More...
#include <StepVisual_TriangulatedFace.hxx>
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_CoordinatesList > | Coordinates () 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_HAsciiString > | Name () const |
Public Member Functions inherited from Standard_Transient | |
Standard_Transient () | |
Empty constructor. More... | |
Standard_Transient (const Standard_Transient &) | |
Copy constructor – does nothing. More... | |
Standard_Transient & | operator= (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_Transient * | This () 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... | |
Representation of STEP entity TriangulatedFace.
StepVisual_TriangulatedFace::StepVisual_TriangulatedFace | ( | ) |
default constructor
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)
Standard_Integer StepVisual_TriangulatedFace::NbPnindex | ( | ) | const |
Returns number of Pnindex.
Standard_Integer StepVisual_TriangulatedFace::NbTriangles | ( | ) | const |
Returns number of Triangles.
Handle< TColStd_HArray1OfInteger > StepVisual_TriangulatedFace::Pnindex | ( | ) | const |
Returns field Pnindex.
Standard_Integer StepVisual_TriangulatedFace::PnindexValue | ( | const Standard_Integer | theNum | ) | const |
Returns value of Pnindex by its num.
void StepVisual_TriangulatedFace::SetPnindex | ( | const Handle< TColStd_HArray1OfInteger > & | thePnindex | ) |
Sets field Pnindex.
void StepVisual_TriangulatedFace::SetTriangles | ( | const Handle< TColStd_HArray2OfInteger > & | theTriangles | ) |
Sets field Triangles.
Handle< TColStd_HArray2OfInteger > StepVisual_TriangulatedFace::Triangles | ( | ) | const |
Returns field Triangles.