|
CFx SDK Documentation 2026 SP0
|
#include <IfcGeometricRepresentationContextAutoImpl.h>
Public Member Functions | |
| int | getCoordinateSpaceDimension () const |
| void | setCoordinateSpaceDimension (int CoordinateSpaceDimension) |
| double | getPrecision () const |
| void | setPrecision (double Precision) |
| IfcAxis2Placement | worldCoordinateSystem () |
| const OdDAIObjectId & | getTrueNorth () const |
| void | setTrueNorth (const OdDAIObjectId &TrueNorth) |
| void | getInvHasSubContexts (OdDAIObjectIds &HasSubContexts) const |
| IfcGeometricRepresentationContext () | |
| virtual OdResult | inFields (OdDAI::OdSpfFilerBase *rdFiler) override |
| virtual OdResult | outFields (OdDAI::OdSpfFilerBase *wrFiler) override |
| virtual OdDAI::Entity * | getInstanceType () const override |
| virtual OdRxValue | getAttr (const char *attrName) const override |
| virtual bool | comparedToEarlyImpl (const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) const override |
| virtual void | unsetAttr (const char *explicitAttrName) override |
| virtual bool | testAttr (const char *explicitAttrName) const override |
| virtual bool | putAttr (const char *explicitAttrName, const OdRxValue &val) override |
| virtual bool | isKindOf (OdIfc::OdIfcEntityType entityType) const override |
| virtual OdIfc::OdIfcEntityType | type () const override |
| virtual OdRxValue | getAttr (const OdIfc::OdIfcAttribute attrDef) const override |
| virtual void | unsetAttr (const OdIfc::OdIfcAttribute explicitAttrDef) override |
| virtual bool | testAttr (const OdIfc::OdIfcAttribute explicitAttrDef) const override |
| virtual bool | putAttr (const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override |
Public Member Functions inherited from OdIfc2x3::IfcRepresentationContext | |
| const OdAnsiString & | getContextIdentifier () const |
| void | setContextIdentifier (const OdAnsiString &ContextIdentifier) |
| const OdAnsiString & | getContextType () const |
| void | setContextType (const OdAnsiString &ContextType) |
| void | getInvRepresentationsInContext (OdDAIObjectIds &RepresentationsInContext) const |
| IfcRepresentationContext () | |
Public Member Functions inherited from OdIfc2x3::OdIfc2x3Instance | |
| void | setInverseCounterParts () override |
Public Member Functions inherited from OdIfc::OdIfcInstance | |
| ODRX_DECLARE_MEMBERS (OdIfcInstance) | |
| OdIfcInstance () | |
| ~OdIfcInstance () | |
| bool | isInstanceOf (OdIfcEntityType entityType) const |
| IfcOpResult | resolved () |
| void | resolve (IfcOpResult resolved, void *resPtr) |
| void | unresolve () |
| virtual void | setGsNode (OdGsCache *pGsNode) |
| virtual OdGsCache * | gsNode () const |
| virtual OdUInt32 | subSetAttributes (OdGiDrawableTraits *traits) const |
| virtual bool | subWorldDraw (OdGiWorldDraw *wd) const |
| virtual OdDbStub * | ownerId () const |
Protected Attributes | |
| int | m_CoordinateSpaceDimension |
| double | m_Precision |
| OdDAI::Select | m_WorldCoordinateSystem |
| OdDAIObjectId | m_TrueNorth |
Protected Attributes inherited from OdIfc2x3::IfcRepresentationContext | |
| OdAnsiString | m_ContextIdentifier |
| OdAnsiString | m_ContextType |
Protected Attributes inherited from OdIfc::OdIfcInstance | |
| void * | m_resPtr |
| IfcOpResult | m_resolved |
Friends | |
| class | IfcGeometricRepresentationSubContext |
Additional Inherited Members | |
Static Public Member Functions inherited from OdIfc::OdIfcInstance | |
| static const OdGePoint3d * | asPoint3d (const OdIfcInstance *inst) |
| static const OdGePoint2d * | asPoint2d (const OdIfcInstance *inst) |
| static const OdGeVector3d * | asVector3d (const OdIfcInstance *inst) |
| static const OdGeVector2d * | asVector2d (const OdIfcInstance *inst) |
| static const OdGeMatrix2d * | asMatrix2d (const OdIfcInstance *inst) |
| static const OdGeMatrix3d * | asMatrix3d (const OdIfcInstance *inst) |
| static OdIfcCompoundPtr | asCompound (OdSmartPtr< OdIfcInstance > inst) |
| static const OdCmEntityColor * | asRgbColor (const OdIfcInstance *inst) |
The IfcGeometricRepresentationContext defines the context that applies to several shape representations of products within a project. It defines the type of the context in which the shape representation is defined, and the numeric precision applicable to the geometric representation items defined in this context. In addition it can be used to offset the project coordinate system from a global point of origin, using the WorldCoordinateSystem attribute. The main representation context may also provide the true north direction, see on the image below:
<IMAGE ifcgeometricrepresentationcontext_truenorth>
The TrueNorth attribute should be provided, if the y axis of the WorldCoordinateSystem does not point to the global northing. Direction of the true north, or geographic northing direction, relative to the underlying project coordinate system as established by the attribute WorldCoordinateSystem. It is given by a 2 dimensional direction within the xy-plane of the project coordinate system. If not present, it defaults to [0.,1.] - i.e. the positive Y axis of the project coordinate system equals to the geographic northing direction. The direction is provided within project coordinate system and identifies the true north direction.
Definition at line 53 of file Ifc2x3/IfcGeometricRepresentationContextAutoImpl.h.
| OdIfc2x3::IfcGeometricRepresentationContext::IfcGeometricRepresentationContext | ( | ) |
Default constructor for the IfcGeometricRepresentationContext class.
|
overridevirtual |
Early-bound version of instances comparison.
| pOther | [in] Other application instance. |
| ordering | [out] Receives the ordering (comparison) status. |
Reimplemented from OdIfc2x3::IfcRepresentationContext.
Reimplemented in OdIfc2x3::IfcGeometricRepresentationSubContext.
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
Reimplemented from OdIfc2x3::IfcRepresentationContext.
Reimplemented in OdIfc2x3::IfcGeometricRepresentationSubContext.
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc2x3::IfcRepresentationContext.
Reimplemented in OdIfc2x3::IfcGeometricRepresentationSubContext.
| int OdIfc2x3::IfcGeometricRepresentationContext::getCoordinateSpaceDimension | ( | ) | const |
Returns the value of CoordinateSpaceDimension attribute. This attribute represents the integer dimension count of the coordinate space modeled in a geometric representation context.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented from OdIfc2x3::IfcRepresentationContext.
Reimplemented in OdIfc2x3::IfcGeometricRepresentationSubContext.
| void OdIfc2x3::IfcGeometricRepresentationContext::getInvHasSubContexts | ( | OdDAIObjectIds & | HasSubContexts | ) | const |
Returns the value of HasSubContexts attribute. This attribute represents the set of IfcGeometricRepresentationSubContexts that refer to this IfcGeometricRepresentationContext.
| HasSubContexts | [out] Receives the value of HasSubContexts attribute. |
| double OdIfc2x3::IfcGeometricRepresentationContext::getPrecision | ( | ) | const |
Returns the value of Precision attribute. This attribute represents value of the model precision for geometric models. It is a double value (REAL), typically in 1E-5 to 1E-8 range. It indicates the tolerance under which two given points are assumed to be identical. The value can be used e.g. to sets the maximum distance from an edge curve to the underlying face surface in brep models.
| const OdDAIObjectId & OdIfc2x3::IfcGeometricRepresentationContext::getTrueNorth | ( | ) | const |
Returns the value of TrueNorth attribute. This attribute represents direction of the true north, or geographic northing direction, relative to the underlying project coordinate system. It is given by a 2 dimensional direction within the xy-plane of the project coordinate system. If not present, it defaults to 0. 1., meaning that the positive Y axis of the project coordinate system equals the geographic northing direction.
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
Reimplemented from OdIfc2x3::IfcRepresentationContext.
Reimplemented in OdIfc2x3::IfcGeometricRepresentationSubContext.
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc2x3::IfcRepresentationContext.
Reimplemented in OdIfc2x3::IfcGeometricRepresentationSubContext.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented from OdIfc2x3::IfcRepresentationContext.
Reimplemented in OdIfc2x3::IfcGeometricRepresentationSubContext.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrName | [in] Explicit name of the attribute to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc2x3::IfcRepresentationContext.
Reimplemented in OdIfc2x3::IfcGeometricRepresentationSubContext.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc2x3::IfcRepresentationContext.
Reimplemented in OdIfc2x3::IfcGeometricRepresentationSubContext.
| void OdIfc2x3::IfcGeometricRepresentationContext::setCoordinateSpaceDimension | ( | int | CoordinateSpaceDimension | ) |
Sets the value of CoordinateSpaceDimension attribute. This attribute represents the integer dimension count of the coordinate space modeled in a geometric representation context.
| CoordinateSpaceDimension | [in] Coordinate space dimension to set. |
| void OdIfc2x3::IfcGeometricRepresentationContext::setPrecision | ( | double | Precision | ) |
Sets the value of Precision attribute. This attribute represents value of the model precision for geometric models. It is a double value (REAL), typically in 1E-5 to 1E-8 range. It indicates the tolerance under which two given points are assumed to be identical. The value can be used e.g. to sets the maximum distance from an edge curve to the underlying face surface in brep models.
| Precision | [in] Precision to set. |
| void OdIfc2x3::IfcGeometricRepresentationContext::setTrueNorth | ( | const OdDAIObjectId & | TrueNorth | ) |
Sets the value of TrueNorth attribute. This attribute represents direction of the true north, or geographic northing direction, relative to the underlying project coordinate system. It is given by a 2 dimensional direction within the xy-plane of the project coordinate system. If not present, it defaults to 0. 1., meaning that the positive Y axis of the project coordinate system equals the geographic northing direction.
| TrueNorth | [in] TrueNorth to set. |
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc2x3::IfcRepresentationContext.
Reimplemented in OdIfc2x3::IfcGeometricRepresentationSubContext.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc2x3::IfcRepresentationContext.
Reimplemented in OdIfc2x3::IfcGeometricRepresentationSubContext.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc2x3::IfcRepresentationContext.
Reimplemented in OdIfc2x3::IfcGeometricRepresentationSubContext.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc2x3::IfcRepresentationContext.
Reimplemented in OdIfc2x3::IfcGeometricRepresentationSubContext.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc2x3::IfcRepresentationContext.
Reimplemented in OdIfc2x3::IfcGeometricRepresentationSubContext.
| IfcAxis2Placement OdIfc2x3::IfcGeometricRepresentationContext::worldCoordinateSystem | ( | ) |
Returns the value of WorldCoordinateSystem attribute. This attribute represents establishment of the engineering coordinate system (often referred to as the world coordinate system in CAD) for all representation contexts used by the project.
|
friend |
Definition at line 285 of file Ifc2x3/IfcGeometricRepresentationContextAutoImpl.h.
|
protected |
Definition at line 279 of file Ifc2x3/IfcGeometricRepresentationContextAutoImpl.h.
|
protected |
Definition at line 280 of file Ifc2x3/IfcGeometricRepresentationContextAutoImpl.h.
|
protected |
Definition at line 282 of file Ifc2x3/IfcGeometricRepresentationContextAutoImpl.h.
|
protected |
Definition at line 281 of file Ifc2x3/IfcGeometricRepresentationContextAutoImpl.h.