|
CFx SDK Documentation 2026 SP0
|
#include <IfcAlignmentVerticalSegmentAutoImpl.h>
Public Member Functions | |
| double | getStartDistAlong () const |
| void | setStartDistAlong (double StartDistAlong) |
| double | getHorizontalLength () const |
| void | setHorizontalLength (double HorizontalLength) |
| double | getStartHeight () const |
| void | setStartHeight (double StartHeight) |
| double | getStartGradient () const |
| void | setStartGradient (double StartGradient) |
| double | getEndGradient () const |
| void | setEndGradient (double EndGradient) |
| double | getRadiusOfCurvature () const |
| void | setRadiusOfCurvature (double RadiusOfCurvature) |
| IfcAlignmentVerticalSegmentTypeEnum | getPredefinedType () const |
| void | setPredefinedType (IfcAlignmentVerticalSegmentTypeEnum PredefinedType) |
| IfcAlignmentVerticalSegment () | |
| 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_StartHeight |
| double | m_StartGradient |
| double | m_EndGradient |
| double | m_RadiusOfCurvature |
| 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) |
Individual segment along the IfcAlignmentVertical is defined in the distance-along/z coordinate space. The vertical alignment is defined by segments that connects end-to-start. The vertical alignment curve geometry is defined in a plane with x = distance along horizontal, the y = height (or elevation). The transition at the segment connection is not enforced to be tangential, The IfcSegment Transition enumeration specifies the type of transition explicitly. The following vertical segment types are defined in the : Line segment - IfcAlignmentVerticalSegmentTypeEnum.CONSTANTGRADIENT. Circular arc segment - IfcAlignmentVerticalSegmentTypeEnum.CIRCULARARC. Parabolic arc segment - IfcAlignmentVerticalSegmentTypeEnum.PARABOLICARC. Transition segment with linear curvature variation - IfcAlignmentVerticalSegmentTypeEnum.CLOTHOID. For each vertical segment, the following non-redundant information is provided: The start point. The start gradient (as a ratio measure with horizontal being 0, uphill positive, and downhill negative), usually between -1 < n < 1. The length (as horizontal length along the distance along (not the curve segment length)). The curve parameter needed for circular and parabolic arc segments. The following information can be calculated (and is therefore not exchanged explicitly to avoid redundancy and inconsistencies). The end distance along (from the distance along and segment length). The end height (from start distance along, gradient, length and curve parameter). The end direction (from start direction, segment length and curve parameter). The point of vertical intersection (from start direction and end direction).
Definition at line 58 of file IFC4X4/IfcAlignmentVerticalSegmentAutoImpl.h.
| OdIfc4x4::IfcAlignmentVerticalSegment::IfcAlignmentVerticalSegment | ( | ) |
Default constructor for the IfcAlignmentVerticalSegment 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::IfcAlignmentVerticalSegment::getEndGradient | ( | ) | const |
Returns the value of EndGradient attribute. End gradient is end gradient ratio of the segment. Normally, this value should be in range [-1 .. 1], however values that exceed this range are accepted.
| double OdIfc4x4::IfcAlignmentVerticalSegment::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.
| IfcAlignmentVerticalSegmentTypeEnum OdIfc4x4::IfcAlignmentVerticalSegment::getPredefinedType | ( | ) | const |
Returns the value of PredefinedType attribute. Predefined type indicates the predefined type of a vertical alignment segment.
| double OdIfc4x4::IfcAlignmentVerticalSegment::getRadiusOfCurvature | ( | ) | const |
Returns the value of RadiusOfCurvature attribute. Radius of curvature is radius of parabola or arc. Positive values imply a CCW direction whereas negative CW.
| double OdIfc4x4::IfcAlignmentVerticalSegment::getStartDistAlong | ( | ) | const |
Returns the value of StartDistAlong attribute. StartDistAlong is distance along the horizontal alignment as measured along the corresponding IfcAlignmentHorizontal. The distance along is measured from the start point of IfcAlignmentHorizontal.
| double OdIfc4x4::IfcAlignmentVerticalSegment::getStartGradient | ( | ) | const |
Returns the value of StartGradient attribute. Start gradient is start gradient ratio of the segment. Normally, this value should be in range [-1 .. 1], however values that exceed this range are accepted.
| double OdIfc4x4::IfcAlignmentVerticalSegment::getStartHeight | ( | ) | const |
Returns the value of StartHeight attribute. Start height is elevation in Z of the start point relative to the IfcAlignment coordinate system.
|
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::IfcAlignmentVerticalSegment::setEndGradient | ( | double | EndGradient | ) |
Sets the value of EndGradient attribute. End gradient is end gradient ratio of the segment. Normally, this value should be in range [-1 .. 1], however values that exceed this range are accepted.
| EndGradient | [in] End gradient ratio to set. |
| void OdIfc4x4::IfcAlignmentVerticalSegment::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::IfcAlignmentVerticalSegment::setPredefinedType | ( | IfcAlignmentVerticalSegmentTypeEnum | PredefinedType | ) |
Sets the value of PredefinedType attribute. Predefined type indicates the predefined type of a vertical alignment segment.
| PredefinedType | [in] Predefined type to set. |
| void OdIfc4x4::IfcAlignmentVerticalSegment::setRadiusOfCurvature | ( | double | RadiusOfCurvature | ) |
Sets the value of RadiusOfCurvature attribute. Radius of curvature is radius of parabola or arc. Positive values imply a CCW direction whereas negative CW.
| RadiusOfCurvature | [in] Radius of curvature to set. |
| void OdIfc4x4::IfcAlignmentVerticalSegment::setStartDistAlong | ( | double | StartDistAlong | ) |
Sets the value of StartDistAlong attribute. StartDistAlong is distance along the horizontal alignment as measured along the corresponding IfcAlignmentHorizontal. The distance along is measured from the start point of IfcAlignmentHorizontal.
| StartDistAlong | [in] StartDistAlong to set. |
| void OdIfc4x4::IfcAlignmentVerticalSegment::setStartGradient | ( | double | StartGradient | ) |
Sets the value of StartGradient attribute. Start gradient is start gradient ratio of the segment. Normally, this value should be in range [-1 .. 1], however values that exceed this range are accepted.
| StartGradient | [in] Start gradient ratio to set. |
| void OdIfc4x4::IfcAlignmentVerticalSegment::setStartHeight | ( | double | StartHeight | ) |
Sets the value of StartHeight attribute. Start height is elevation in Z of the start point relative to the IfcAlignment coordinate system.
| StartHeight | [in] StartHeight 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 336 of file IFC4X4/IfcAlignmentVerticalSegmentAutoImpl.h.
|
protected |
Definition at line 333 of file IFC4X4/IfcAlignmentVerticalSegmentAutoImpl.h.
|
protected |
Definition at line 338 of file IFC4X4/IfcAlignmentVerticalSegmentAutoImpl.h.
|
protected |
Definition at line 337 of file IFC4X4/IfcAlignmentVerticalSegmentAutoImpl.h.
|
protected |
Definition at line 332 of file IFC4X4/IfcAlignmentVerticalSegmentAutoImpl.h.
|
protected |
Definition at line 335 of file IFC4X4/IfcAlignmentVerticalSegmentAutoImpl.h.
|
protected |
Definition at line 334 of file IFC4X4/IfcAlignmentVerticalSegmentAutoImpl.h.