|
CFx SDK Documentation 2026 SP0
|
#include <IfcDistanceExpressionAutoImpl.h>
Public Member Functions | |
| double | getDistanceAlong () const |
| void | setDistanceAlong (double DistanceAlong) |
| double | getOffsetLateral () const |
| void | setOffsetLateral (double OffsetLateral) |
| double | getOffsetVertical () const |
| void | setOffsetVertical (double OffsetVertical) |
| double | getOffsetLongitudinal () const |
| void | setOffsetLongitudinal (double OffsetLongitudinal) |
| OdDAI::Boolean | getAlongHorizontal () const |
| void | setAlongHorizontal (OdDAI::Boolean AlongHorizontal) |
| IfcDistanceExpression () | |
| 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 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 OdIfc4x2::IfcRepresentationItem | |
| void | getInvLayerAssignment (OdDAIObjectIds &LayerAssignment) const |
| void | getInvStyledByItem (OdDAIObjectIds &StyledByItem) const |
Public Member Functions inherited from OdIfc4x2::OdIfc4x2Instance | |
| 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 | |
| double | m_DistanceAlong |
| double | m_OffsetLateral |
| double | m_OffsetVertical |
| double | m_OffsetLongitudinal |
| OdDAI::Boolean | m_AlongHorizontal |
Protected Attributes inherited from OdIfc::OdIfcInstance | |
| void * | m_resPtr |
| IfcOpResult | m_resolved |
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) |
An IfcDistanceExpression describes a point relative to a basis curve according to distance along the basis curve in 3D or as projected onto the horizontal plane, offset lateral to the basis curve according to the horizontal orientation at the specified distance, offset vertical to the basis curve, and an optional additional offset parallel to the basis curve that can be used to address locations otherwise unreachable where the basis curve is tangentially discontinuous.
Definition at line 43 of file Ifc4x2/IfcDistanceExpressionAutoImpl.h.
| OdIfc4x2::IfcDistanceExpression::IfcDistanceExpression | ( | ) |
Default constructor for the IfcDistanceExpression class.
| OdDAI::Boolean OdIfc4x2::IfcDistanceExpression::getAlongHorizontal | ( | ) | const |
Returns the value of AlongHorizontal attribute. This attribute indicates whether DistanceAlong is measured according to horizontal projection of distance (if True), or 3D distance (if False or unset).
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc4x2::IfcRepresentationItem.
| double OdIfc4x2::IfcDistanceExpression::getDistanceAlong | ( | ) | const |
Returns the value of DistanceAlong attribute. This attribute represents the distance along the basis curve, measured according to projection in the horizontal plane if AlongHorizontal is True, or according to 3D distance otherwise. If the basis curve refers to IfcAlignmentCurve and AlongHorizontal is True, then this measurement directly corresponds to IfcAlignment2DHorizontal.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented from OdIfc4x2::IfcGeometricRepresentationItem.
| double OdIfc4x2::IfcDistanceExpression::getOffsetLateral | ( | ) | const |
Returns the value of OffsetLateral attribute. This attribute represents the offset that is horizontally perpendicular to the basis curve, where positive values indicate to the left of the basis curve as facing in the direction of the basis curve, and negative values indicate to the right. If DistanceAlong coincides with a point of tangential discontinuity (within precision limits), then the tangent of the previous segment governs.
| double OdIfc4x2::IfcDistanceExpression::getOffsetLongitudinal | ( | ) | const |
Returns the value of OffsetLongitudinal attribute. This attribute represents the offset that is parallel to the basis curve after applying DistanceAlong, OffsetLateral, and OffsetVertical to reach locations for the case of a tangentially discontinuous basis curve.
| double OdIfc4x2::IfcDistanceExpression::getOffsetVertical | ( | ) | const |
Returns the value of OffsetVertical attribute. This attribute represents the offset that is vertical to the basis curve, where positive values indicate vertically upwards in global coordinates at DistanceAlong, regardless of the slope of the basis curve at such point.
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
Reimplemented from OdIfc4x2::IfcRepresentationItem.
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc4x2::IfcGeometricRepresentationItem.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented from OdIfc4x2::IfcRepresentationItem.
|
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 OdIfc::OdIfcInstance.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc4x2::IfcRepresentationItem.
| void OdIfc4x2::IfcDistanceExpression::setAlongHorizontal | ( | OdDAI::Boolean | AlongHorizontal | ) |
Sets the value of AlongHorizontal attribute. This attribute indicates whether DistanceAlong is measured according to horizontal projection of distance (if True), or 3D distance (if False or unset).
| AlongHorizontal | [in] AlongHorizontal attribute to set. |
| void OdIfc4x2::IfcDistanceExpression::setDistanceAlong | ( | double | DistanceAlong | ) |
Sets the value of DistanceAlong attribute. This attribute represents the distance along the basis curve, measured according to projection in the horizontal plane if AlongHorizontal is True, or according to 3D distance otherwise. If the basis curve refers to IfcAlignmentCurve and AlongHorizontal is True, then this measurement directly corresponds to IfcAlignment2DHorizontal.
| DistanceAlong | [in] DistanceAlong attribute to set. |
| void OdIfc4x2::IfcDistanceExpression::setOffsetLateral | ( | double | OffsetLateral | ) |
Sets the value of OffsetLateral attribute. This attribute represents the offset that is horizontally perpendicular to the basis curve, where positive values indicate to the left of the basis curve as facing in the direction of the basis curve, and negative values indicate to the right. If DistanceAlong coincides with a point of tangential discontinuity (within precision limits), then the tangent of the previous segment governs.
| OffsetLateral | [in] OffsetLateral attribute to set. |
| void OdIfc4x2::IfcDistanceExpression::setOffsetLongitudinal | ( | double | OffsetLongitudinal | ) |
Sets the value of OffsetLongitudinal attribute. This attribute represents the offset that is parallel to the basis curve after applying DistanceAlong, OffsetLateral, and OffsetVertical to reach locations for the case of a tangentially discontinuous basis curve.
| OffsetLongitudinal | [in] OffsetLongitudinal attribute to set. |
| void OdIfc4x2::IfcDistanceExpression::setOffsetVertical | ( | double | OffsetVertical | ) |
Sets the value of OffsetVertical attribute. This attribute represents the offset that is vertical to the basis curve, where positive values indicate vertically upwards in global coordinates at DistanceAlong, regardless of the slope of the basis curve at such point.
| OffsetVertical | [in] OffsetVertical attribute to set. |
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc4x2::IfcRepresentationItem.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc4x2::IfcRepresentationItem.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc4x2::IfcGeometricRepresentationItem.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc4x2::IfcRepresentationItem.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc4x2::IfcRepresentationItem.
|
protected |
Definition at line 262 of file Ifc4x2/IfcDistanceExpressionAutoImpl.h.
|
protected |
Definition at line 258 of file Ifc4x2/IfcDistanceExpressionAutoImpl.h.
|
protected |
Definition at line 259 of file Ifc4x2/IfcDistanceExpressionAutoImpl.h.
|
protected |
Definition at line 261 of file Ifc4x2/IfcDistanceExpressionAutoImpl.h.
|
protected |
Definition at line 260 of file Ifc4x2/IfcDistanceExpressionAutoImpl.h.