/////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2002-2025, Open Design Alliance (the "Alliance"). // All rights reserved. // // This software and its documentation and related materials are owned by // the Alliance. The software may only be incorporated into application // programs owned by members of the Alliance, subject to a signed // Membership Agreement and Supplemental Software License Agreement with the // Alliance. The structure and organization of this software are the valuable // trade secrets of the Alliance and its suppliers. The software is also // protected by copyright law and international treaty provisions. Application // programs incorporating this software must include the following statement // with their copyright notices: // // This application incorporates Open Design Alliance software pursuant to a license // agreement with Open Design Alliance. // Open Design Alliance Copyright (C) 2002-2025 by Open Design Alliance. // All rights reserved. // // By use of this software, its documentation or related materials, you // acknowledge and accept the above terms. /////////////////////////////////////////////////////////////////////////////// // This file is generated automatically. #ifndef _IFC4X4_IFCALIGNMENTVERTICALSEGMENT_AUTO_IMPL_H #define _IFC4X4_IFCALIGNMENTVERTICALSEGMENT_AUTO_IMPL_H #include "IfcAlignmentParameterSegmentAutoImpl.h" #include "TD_PackPush.h" /** \details The namespace contains schema-dependent classes, definitions and sub routines for work with IFC4X4 express schema definitions. */ namespace OdIfc4x4 { /** \details 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). */ class IFC4X4_EXPORT IfcAlignmentVerticalSegment : public IfcAlignmentParameterSegment { //DOM-IGNORE-BEGIN OD_EXP_DECLARE_MEMBERS(OdIfc4x4::IfcAlignmentVerticalSegment); //DOM-IGNORE-END public: // // OdDAI early binding accessors // /** \details 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. \returns Returns the value of StartDistAlong attribute. */ double getStartDistAlong() const; /** \details 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. \param StartDistAlong [in] StartDistAlong to set. */ void setStartDistAlong(double StartDistAlong); /** \details Returns the value of HorizontalLength attribute. Horizontal length is length measured as distance along the horizontal alignment of the segment. \returns Returns the value of HorizontalLength attribute. */ double getHorizontalLength() const; /** \details Sets the value of HorizontalLength attribute. Horizontal length is length measured as distance along the horizontal alignment of the segment. \param HorizontalLength [in] Horizontal length to set. */ void setHorizontalLength(double HorizontalLength); /** \details Returns the value of StartHeight attribute. Start height is elevation in Z of the start point relative to the IfcAlignment coordinate system. \returns Returns the value of StartHeight attribute. */ double getStartHeight() const; /** \details Sets the value of StartHeight attribute. Start height is elevation in Z of the start point relative to the IfcAlignment coordinate system. \param StartHeight [in] StartHeight to set. \remarks It is strongly advised to not offset the IfcAlignment coordinate system from the project engineering coordinate system. */ void setStartHeight(double StartHeight); /** \details 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. \returns Returns the value of StartGradient attribute. */ double getStartGradient() const; /** \details 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. \param StartGradient [in] Start gradient ratio to set. */ void setStartGradient(double StartGradient); /** \details 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. \returns Returns the value of EndGradient attribute. \remarks If PredefinedType='.CONSTANTGRADIENT.' then this value is the same as StartGradient. */ double getEndGradient() const; /** \details 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. \param EndGradient [in] End gradient ratio to set. \remarks If PredefinedType='.CONSTANTGRADIENT.' then this value is the same as StartGradient. */ void setEndGradient(double EndGradient); /** \details Returns the value of RadiusOfCurvature attribute. Radius of curvature is radius of parabola or arc. Positive values imply a CCW direction whereas negative CW. \returns Returns the value of RadiusOfCurvature attribute. \remarks * For PredefinedType is ARC: the radius of the basis circle for the arc. * For PredefinedType is PARABOLICARC: the parabola constant (determining the “steepness” of the parabola) is provided by the “minimum parabola radius”, the true radius of a parabola is at its vertical axis (the zero-gradient point of the parabola). The minimum radius is twice the focal length of the parabola (the distance between the focal point and the vertex). * For PredefinedType that is not either ARC or PARABOLICARC: the value should be empty. */ double getRadiusOfCurvature() const; /** \details Sets the value of RadiusOfCurvature attribute. Radius of curvature is radius of parabola or arc. Positive values imply a CCW direction whereas negative CW. \param RadiusOfCurvature [in] Radius of curvature to set. \remarks * For PredefinedType is ARC: the radius of the basis circle for the arc. * For PredefinedType is PARABOLICARC: the parabola constant (determining the “steepness” of the parabola) is provided by the “minimum parabola radius”, the true radius of a parabola is at its vertical axis (the zero-gradient point of the parabola). The minimum radius is twice the focal length of the parabola (the distance between the focal point and the vertex). * For PredefinedType that is not either ARC or PARABOLICARC: the value should be empty. */ void setRadiusOfCurvature(double RadiusOfCurvature); /** \details Returns the value of PredefinedType attribute. Predefined type indicates the predefined type of a vertical alignment segment. \returns Returns the value of PredefinedType attribute that can be one of the following: