#include <IfcIndexedPolygonalFaceAutoImpl.h>
The IfcIndexedPolygonalFace is a compact representation of a planar face that is a part of a face set.
<IMAGE ifcindexedpolygonalface_01>
The image below shows an IfcIndexedPolygonalFace at an IfcPolygonalFaceSet using PnIndex.
<IMAGE ifcindexedpolygonalface_02>
Definition at line 52 of file IFC4X4/IfcIndexedPolygonalFaceAutoImpl.h.
◆ comparedToEarlyImpl()
| virtual bool OdIfc4x4::IfcIndexedPolygonalFace::comparedToEarlyImpl |
( |
const OdDAI::ApplicationInstance * | pOther, |
|
|
OdRx::Ordering & | ordering ) const |
|
overridevirtual |
Early-bound version of instances comparison.
- Parameters
-
| pOther | [in] Other application instance. |
| ordering | [out] Receives the ordering (comparison) status. |
- Returns
- true if comparison was performed, false if method has no implementation, so late-bound version could be applied.
Reimplemented from OdIfc4x4::IfcTessellatedItem.
Reimplemented in OdIfc4x4::IfcIndexedPolygonalFaceWithVoids.
◆ coordIndex()
| OdDAI::ListOfInt & OdIfc4x4::IfcIndexedPolygonalFace::coordIndex |
( |
| ) |
|
Returns the value of CoordIndex attribute. This attribute represents one-dimensional list with the indices for the three or more points, that define the vertices of the outer loop. If the tessellated face set is closed, (indicated by SELF\IfcTessellatedFaceSet.Closed), then the points defining the outer loop, connect counter clockwise, as seen from the outside of the body, so the resulting normal points outwards.
- Returns
- Returns the value of CoordIndex attribute.
◆ getAttr() [1/2]
| virtual OdRxValue OdIfc4x4::IfcIndexedPolygonalFace::getAttr |
( |
const char * | attrName | ) |
const |
|
overridevirtual |
◆ getAttr() [2/2]
◆ getCoordIndex()
| void OdIfc4x4::IfcIndexedPolygonalFace::getCoordIndex |
( |
OdArray< int > & | CoordIndex | ) |
const |
Gets the value of CoordIndex attribute. This attribute represents one-dimensional list with the indices for the three or more points, that define the vertices of the outer loop. If the tessellated face set is closed, (indicated by SELF\IfcTessellatedFaceSet.Closed), then the points defining the outer loop, connect counter clockwise, as seen from the outside of the body, so the resulting normal points outwards.
- Parameters
-
| CoordIndex | [out] Receives the CoordIndex attribute. |
◆ getInstanceType()
| virtual OdDAI::Entity * OdIfc4x4::IfcIndexedPolygonalFace::getInstanceType |
( |
| ) |
const |
|
overridevirtual |
◆ getInvHasTexCoords()
| void OdIfc4x4::IfcIndexedPolygonalFace::getInvHasTexCoords |
( |
OdDAIObjectIds & | HasTexCoords | ) |
const |
Returns the value of HasTexCoords attribute. This attribute represents reference to the IfcTextureCoordinateIndices that provides the texture coordinates for applying textures to this face.
- Parameters
-
| HasTexCoords | [out] Receives the value of HasTexCoords attribute. |
◆ getInvToFaceSet()
| void OdIfc4x4::IfcIndexedPolygonalFace::getInvToFaceSet |
( |
OdDAIObjectIds & | ToFaceSet | ) |
const |
Returns the value of ToFaceSet attribute. This attribute represents reference to the IfcPolygonalFaceSet for which this face is associated.
- Parameters
-
| ToFaceSet | [out] Receives the value of ToFaceSet attribute. |
◆ inFields()
| virtual OdResult OdIfc4x4::IfcIndexedPolygonalFace::inFields |
( |
OdDAI::OdSpfFilerBase * | rdFiler | ) |
|
|
overridevirtual |
◆ isKindOf()
Checks whether the specified instance is the object derived from or belongs to this class.
- Parameters
-
| entityType | [in] Entity to check. |
- Returns
- true if the specified instance is the object derived from or belongs to this class, false otherwise.
Reimplemented from OdIfc4x4::IfcTessellatedItem.
Reimplemented in OdIfc4x4::IfcIndexedPolygonalFaceWithVoids.
◆ outFields()
| virtual OdResult OdIfc4x4::IfcIndexedPolygonalFace::outFields |
( |
OdDAI::OdSpfFilerBase * | wrFiler | ) |
|
|
overridevirtual |
◆ putAttr() [1/2]
| virtual bool OdIfc4x4::IfcIndexedPolygonalFace::putAttr |
( |
const char * | explicitAttrName, |
|
|
const OdRxValue & | val ) |
|
overridevirtual |
Sets the specified attribute with a given value.
- Parameters
-
| explicitAttrName | [in] Explicit name of the attribute to set. |
| val | [in] Value to set. |
- Returns
- true if the value is successfully set for the specified attribute, false otherwise.
Reimplemented from OdIfc::OdIfcInstance.
Reimplemented in OdIfc4x4::IfcIndexedPolygonalFaceWithVoids.
◆ putAttr() [2/2]
◆ testAttr() [1/2]
| virtual bool OdIfc4x4::IfcIndexedPolygonalFace::testAttr |
( |
const char * | explicitAttrName | ) |
const |
|
overridevirtual |
◆ testAttr() [2/2]
| virtual bool OdIfc4x4::IfcIndexedPolygonalFace::testAttr |
( |
const OdIfc::OdIfcAttribute | explicitAttrDef | ) |
const |
|
overridevirtual |
◆ type()
◆ unsetAttr() [1/2]
| virtual void OdIfc4x4::IfcIndexedPolygonalFace::unsetAttr |
( |
const char * | explicitAttrName | ) |
|
|
overridevirtual |
◆ unsetAttr() [2/2]
◆ IfcPolygonalFaceSet
◆ IfcTextureCoordinateIndices
◆ m_CoordIndex
| OdDAI::ListOfInt OdIfc4x4::IfcIndexedPolygonalFace::m_CoordIndex |
|
protected |
The documentation for this class was generated from the following file: