#include <IfcLinearPlacementAutoImpl.h>
IfcLinearPlacement provides a specialization of IfcObjectPlacement in which the placement and axis direction of the object coordinate system is defined by a reference to a curve. RelativePlacement is therefore restricted to IfcAxis2PlacementLinear.
\changes
IFC4X2 changes: Attribute PlacementRelTo renamed to PlacementMeasuredAlong.
Definition at line 49 of file IFC4X4/IfcLinearPlacementAutoImpl.h.
◆ comparedToEarlyImpl()
| virtual bool OdIfc4x4::IfcLinearPlacement::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::IfcObjectPlacement.
◆ getAttr() [1/2]
| virtual OdRxValue OdIfc4x4::IfcLinearPlacement::getAttr |
( |
const char * | attrName | ) |
const |
|
overridevirtual |
Returns an attribute value for the specified attribute name.
- Parameters
-
| attrName | [in] Name of an attribute to query. |
- Returns
- OdRxValue object that represents a generic variant type value.
Reimplemented from OdIfc4x4::IfcObjectPlacement.
◆ getAttr() [2/2]
Returns an attribute value for the specified attribute definition.
- Parameters
-
| attrDef | [in] Attribute definition to query. |
- Returns
- OdRxValue object that represents a generic variant type value.
Reimplemented from OdIfc4x4::IfcObjectPlacement.
◆ getCartesianPosition()
| const OdDAIObjectId & OdIfc4x4::IfcLinearPlacement::getCartesianPosition |
( |
| ) |
const |
Returns the value of CartesianPosition attribute. This attribute represents the calculated global location and orientation in Cartesian coordinates as a fallback which can be used by applications that do not support linear placement.
- Returns
- Returns the value of CartesianPosition attribute.
◆ getInstanceType()
| virtual OdDAI::Entity * OdIfc4x4::IfcLinearPlacement::getInstanceType |
( |
| ) |
const |
|
overridevirtual |
Returns a type of a class instance.
- Returns
- Pointer to the <exref target=https://docs.opendesign.com/tkernel_api_cpp/OdDAI__Entity.html>>OdDAI::Entity</exref> type that determines an entity definition within a schema.
Reimplemented from OdIfc4x4::IfcObjectPlacement.
◆ getRelativePlacement()
| const OdDAIObjectId & OdIfc4x4::IfcLinearPlacement::getRelativePlacement |
( |
| ) |
const |
Returns the value of RelativePlacement attribute. This attribute represents geometric placement that defines the transformation from the related coordinate system into the relating. The placement can be either 2D or 3D, depending on the dimension count of the coordinate system.
- Returns
- Returns the value of RelativePlacement attribute.
◆ inFields()
| virtual OdResult OdIfc4x4::IfcLinearPlacement::inFields |
( |
OdDAI::OdSpfFilerBase * | rdFiler | ) |
|
|
overridevirtual |
Reads object's data from the specified filer.
- Parameters
-
| rdFiler | [in] Pointer to a filer from which to read the data. |
- Returns
- A value of OdResult type that contains the result of the method execution.
Reimplemented from OdIfc4x4::IfcObjectPlacement.
◆ 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::IfcObjectPlacement.
◆ outFields()
| virtual OdResult OdIfc4x4::IfcLinearPlacement::outFields |
( |
OdDAI::OdSpfFilerBase * | wrFiler | ) |
|
|
overridevirtual |
Writes object's data the the specified filer.
- Parameters
-
| wrFiler | [in] Pointer to a filer to which to write the data. |
- Returns
- A value of OdResult type that contains the result of the method execution.
Reimplemented from OdIfc4x4::IfcObjectPlacement.
◆ putAttr() [1/2]
| virtual bool OdIfc4x4::IfcLinearPlacement::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 OdIfc4x4::IfcObjectPlacement.
◆ putAttr() [2/2]
Sets the specified attribute with a given value.
- Parameters
-
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
- Returns
- true if the value is successfully set for the specified attribute, false otherwise.
Reimplemented from OdIfc4x4::IfcObjectPlacement.
◆ setCartesianPosition()
| void OdIfc4x4::IfcLinearPlacement::setCartesianPosition |
( |
const OdDAIObjectId & | CartesianPosition | ) |
|
Sets the value of CartesianPosition attribute. This attribute represents the calculated global location and orientation in Cartesian coordinates as a fallback which can be used by applications that do not support linear placement.
- Parameters
-
| CartesianPosition | [in] Cartesian position to set. |
◆ setRelativePlacement()
| void OdIfc4x4::IfcLinearPlacement::setRelativePlacement |
( |
const OdDAIObjectId & | RelativePlacement | ) |
|
Sets the value of RelativePlacement attribute. This attribute represents geometric placement that defines the transformation from the related coordinate system into the relating. The placement can be either 2D or 3D, depending on the dimension count of the coordinate system.
- Parameters
-
| RelativePlacement | [in] Relative placement to set. |
◆ testAttr() [1/2]
| virtual bool OdIfc4x4::IfcLinearPlacement::testAttr |
( |
const char * | explicitAttrName | ) |
const |
|
overridevirtual |
Checks whether the specified attribute is set.
- Parameters
-
| explicitAttrName | [in] Explicit name of the attribute to test. |
- Returns
- true if the specified attribute is set, false otherwise.
Reimplemented from OdIfc4x4::IfcObjectPlacement.
◆ testAttr() [2/2]
Checks whether the specified attribute is set.
- Parameters
-
| explicitAttrDef | [in] Attribute definition to test. |
- Returns
- true if the specified attribute is set, false otherwise.
Reimplemented from OdIfc4x4::IfcObjectPlacement.
◆ type()
Returns the type of this entity.
- Returns
- A value of the <exref target=https://docs.opendesign.com/tkernel_api_cpp/OdIfc__OdIfcEntityType.html>>OdIfc::OdIfcEntityType</exref> type that represents type of this entity.
Reimplemented from OdIfc4x4::IfcObjectPlacement.
◆ unsetAttr() [1/2]
| virtual void OdIfc4x4::IfcLinearPlacement::unsetAttr |
( |
const char * | explicitAttrName | ) |
|
|
overridevirtual |
Resets a value for the specified attribute.
- Parameters
-
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc4x4::IfcObjectPlacement.
◆ unsetAttr() [2/2]
Resets a value for the specified attribute.
- Parameters
-
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc4x4::IfcObjectPlacement.
◆ m_CartesianPosition
| OdDAIObjectId OdIfc4x4::IfcLinearPlacement::m_CartesianPosition |
|
protected |
◆ m_RelativePlacement
| OdDAIObjectId OdIfc4x4::IfcLinearPlacement::m_RelativePlacement |
|
protected |
The documentation for this class was generated from the following file: