|
CFx SDK Documentation 2026 SP0
|
#include <IfcAlignmentCantSegmentAutoImpl.h>
Public Member Functions | |
| double | getStartDistAlong () const |
| void | setStartDistAlong (double StartDistAlong) |
| double | getHorizontalLength () const |
| void | setHorizontalLength (double HorizontalLength) |
| double | getStartCantLeft () const |
| void | setStartCantLeft (double StartCantLeft) |
| double | getEndCantLeft () const |
| void | setEndCantLeft (double EndCantLeft) |
| double | getStartCantRight () const |
| void | setStartCantRight (double StartCantRight) |
| double | getEndCantRight () const |
| void | setEndCantRight (double EndCantRight) |
| IfcAlignmentCantSegmentTypeEnum | getPredefinedType () const |
| void | setPredefinedType (IfcAlignmentCantSegmentTypeEnum PredefinedType) |
| IfcAlignmentCantSegment () | |
| 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 OdIfc4x4::IfcAlignmentParameterSegment | |
| const OdAnsiString & | getStartTag () const |
| void | setStartTag (const OdAnsiString &StartTag) |
| const OdAnsiString & | getEndTag () const |
| void | setEndTag (const OdAnsiString &EndTag) |
| IfcAlignmentParameterSegment () | |
Public Member Functions inherited from OdIfc4x4::OdIFC4X4Instance | |
| 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_StartDistAlong |
| IfcNonNegativeLengthMeasure | m_HorizontalLength |
| double | m_StartCantLeft |
| double | m_EndCantLeft |
| double | m_StartCantRight |
| double | m_EndCantRight |
| OdDAI::Enum | m_PredefinedType |
Protected Attributes inherited from OdIfc4x4::IfcAlignmentParameterSegment | |
| OdAnsiString | m_StartTag |
| OdAnsiString | m_EndTag |
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) |
This class represents an individual segment (or sequence) that defines whole cant alignment. The cant alignment is defined by ordered segments that connect end-to-start. The points defined in a cant alignment segment are defined in a plane with x = distance along horizontal alignment and y = height relative to projected points in vertical alignment. The following cant segment types are defined in the IfcAlignmentCantSegmentTypeEnum enumeration: Bloss transition - kIfcAlignmentCantSegmentTypeEnum_BLOSSCURVE. Constant cant - kIfcAlignmentCantSegmentTypeEnum_CONSTANTCANT. Cosine transition - kIfcAlignmentCantSegmentTypeEnum_COSINECURVE. Helmert transition - kIfcAlignmentCantSegmentTypeEnum_HELMERTCURVE. Linear transition - kIfcAlignmentCantSegmentTypeEnum_LINEARTRANSITION. Sine transition - kIfcAlignmentCantSegmentTypeEnum_SINECURVE. Viennese Bend (R) transition - kIfcAlignmentCantSegmentTypeEnum_VIENNESEBEND.
For each cant segment, the following information is provided: The start point, defined by distance along the horizontal alignment. The length (as horizontal length along the distance along (not the curve segment length)). The start cant, given by the values of left cant and right cant, measured relatively to vertical alignment. The end cant, given by the values of left cant and right cant, measured from vertical alignment. The information of tangential continuity that can be used to check continuity of segments (e.g. invalid sudden change of cant or missing cant information if end point and starting point differ over a threshold).
Definition at line 58 of file IFC4X4/IfcAlignmentCantSegmentAutoImpl.h.
| OdIfc4x4::IfcAlignmentCantSegment::IfcAlignmentCantSegment | ( | ) |
Default constructor for the IfcAlignmentCantSegment class.
|
overridevirtual |
Early-bound version of instances comparison.
| pOther | [in] Other application instance. |
| ordering | [out] Receives the ordering (comparison) status. |
Reimplemented from OdIfc4x4::IfcAlignmentParameterSegment.
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
Reimplemented from OdIfc4x4::IfcAlignmentParameterSegment.
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc4x4::IfcAlignmentParameterSegment.
| double OdIfc4x4::IfcAlignmentCantSegment::getEndCantLeft | ( | ) | const |
Returns the value of EndCantLeft attribute. EndCantLeft is length measured for the left cant at the end of the segment.
| double OdIfc4x4::IfcAlignmentCantSegment::getEndCantRight | ( | ) | const |
Returns the value of EndCantRight attribute. EndCantRight is length measured for the right cant at the end of the segment.
| double OdIfc4x4::IfcAlignmentCantSegment::getHorizontalLength | ( | ) | const |
Returns the value of HorizontalLength attribute. Horizontal length is length measured as distance along the horizontal alignment of the segment.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented from OdIfc4x4::IfcAlignmentParameterSegment.
| IfcAlignmentCantSegmentTypeEnum OdIfc4x4::IfcAlignmentCantSegment::getPredefinedType | ( | ) | const |
Returns the value of PredefinedType attribute. Predefined type identifies the predefined type of a segment of a cant alignment segment.
| double OdIfc4x4::IfcAlignmentCantSegment::getStartCantLeft | ( | ) | const |
Returns the value of StartCantLeft attribute. StartCantLeft is length measured for the left cant at the beginning of the segment.
| double OdIfc4x4::IfcAlignmentCantSegment::getStartCantRight | ( | ) | const |
Returns the value of StartCantRight attribute. StartCantRight is length measured for the right cant at the beginning of the segment.
| double OdIfc4x4::IfcAlignmentCantSegment::getStartDistAlong | ( | ) | const |
Returns the value of StartDistAlong attribute. StartDistAlong is distance along the horizontal alignment, measured along the IfcAlignment2DHorizontal given in the length unit of the global IfcUnitAssignment.
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
Reimplemented from OdIfc4x4::IfcAlignmentParameterSegment.
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc4x4::IfcAlignmentParameterSegment.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented from OdIfc4x4::IfcAlignmentParameterSegment.
|
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 OdIfc4x4::IfcAlignmentParameterSegment.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc4x4::IfcAlignmentParameterSegment.
| void OdIfc4x4::IfcAlignmentCantSegment::setEndCantLeft | ( | double | EndCantLeft | ) |
Sets the value of EndCantLeft attribute. EndCantLeft is length measured for the left cant at the end of the segment.
| EndCantLeft | [in] EndCantLeft to set. |
| void OdIfc4x4::IfcAlignmentCantSegment::setEndCantRight | ( | double | EndCantRight | ) |
Sets the value of EndCantRight attribute. EndCantRight is length measured for the right cant at the end of the segment.
| EndCantRight | [in] EndCantRight to set. |
| void OdIfc4x4::IfcAlignmentCantSegment::setHorizontalLength | ( | double | HorizontalLength | ) |
Sets the value of HorizontalLength attribute. Horizontal length is length measured as distance along the horizontal alignment of the segment.
| HorizontalLength | [in] Horizontal length to set. |
| void OdIfc4x4::IfcAlignmentCantSegment::setPredefinedType | ( | IfcAlignmentCantSegmentTypeEnum | PredefinedType | ) |
Sets the value of PredefinedType attribute. Predefined type identifies the predefined type of a segment of a cant alignment segment.
| PredefinedType | [in] PredefinedType to set. |
| void OdIfc4x4::IfcAlignmentCantSegment::setStartCantLeft | ( | double | StartCantLeft | ) |
Sets the value of StartCantLeft attribute. StartCantLeft is length measured for the left cant at the beginning of the segment.
| StartCantLeft | [in] StartCantLeft to set. |
| void OdIfc4x4::IfcAlignmentCantSegment::setStartCantRight | ( | double | StartCantRight | ) |
Sets the value of StartCantRight attribute. StartCantRight is length measured for the right cant at the beginning of the segment.
| StartCantRight | [in] StartCantRight to set. |
| void OdIfc4x4::IfcAlignmentCantSegment::setStartDistAlong | ( | double | StartDistAlong | ) |
Sets the value of StartDistAlong attribute. StartDistAlong is distance along the horizontal alignment, measured along the IfcAlignment2DHorizontal given in the length unit of the global IfcUnitAssignment.
| StartDistAlong | [in] StartDistAlong to set. |
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc4x4::IfcAlignmentParameterSegment.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc4x4::IfcAlignmentParameterSegment.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc4x4::IfcAlignmentParameterSegment.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc4x4::IfcAlignmentParameterSegment.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc4x4::IfcAlignmentParameterSegment.
|
protected |
Definition at line 297 of file IFC4X4/IfcAlignmentCantSegmentAutoImpl.h.
|
protected |
Definition at line 299 of file IFC4X4/IfcAlignmentCantSegmentAutoImpl.h.
|
protected |
Definition at line 295 of file IFC4X4/IfcAlignmentCantSegmentAutoImpl.h.
|
protected |
Definition at line 300 of file IFC4X4/IfcAlignmentCantSegmentAutoImpl.h.
|
protected |
Definition at line 296 of file IFC4X4/IfcAlignmentCantSegmentAutoImpl.h.
|
protected |
Definition at line 298 of file IFC4X4/IfcAlignmentCantSegmentAutoImpl.h.
|
protected |
Definition at line 294 of file IFC4X4/IfcAlignmentCantSegmentAutoImpl.h.