|
CFx SDK Documentation 2026 SP0
|
#include <IfcTrimmedCurveAutoImpl.h>
Public Member Functions | |
| const OdDAIObjectId & | getBasisCurve () const |
| void | setBasisCurve (const OdDAIObjectId &BasisCurve) |
| void | getTrim1 (OdArray< OdDAI::Select > &Trim1) const |
| void | getTrim1WrapperArray (OdArray< IfcTrimmingSelect > &Trim1) const |
| OdDAI::SetOfSelect & | trim1 () |
| void | getTrim2 (OdArray< OdDAI::Select > &Trim2) const |
| void | getTrim2WrapperArray (OdArray< IfcTrimmingSelect > &Trim2) const |
| OdDAI::SetOfSelect & | trim2 () |
| OdDAI::Boolean | getSenseAgreement () const |
| void | setSenseAgreement (OdDAI::Boolean SenseAgreement) |
| IfcTrimmingPreference | getMasterRepresentation () const |
| void | setMasterRepresentation (IfcTrimmingPreference MasterRepresentation) |
| IfcTrimmedCurve () | |
| 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 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 | |
| OdDAIObjectId | m_BasisCurve |
| OdDAI::SetOfSelect | m_Trim1 |
| OdDAI::SetOfSelect | m_Trim2 |
| OdDAI::Boolean | m_SenseAgreement |
| OdDAI::Enum | m_MasterRepresentation |
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 IfcTrimmedCurve is a bounded curve that is trimmed at both ends.
The image below shows the four arcs (dashed blue and green lines with arrow showing different orientations) that can be defined by the same BasisCurve (of IfcCircle type) and the same trimming points (specified by Cartesian points and parameter values) by using different assignments to Trim1 and Trim2 and SenseAgreement.
<IMAGE ifctrimmedcurve_parameterization>
Definition at line 51 of file Ifc2x_Final/IfcTrimmedCurveAutoImpl.h.
| OdIfc2x_final::IfcTrimmedCurve::IfcTrimmedCurve | ( | ) |
Default constructor for the IfcTrimmedCurve class.
|
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 OdIfc::OdIfcInstance.
| const OdDAIObjectId & OdIfc2x_final::IfcTrimmedCurve::getBasisCurve | ( | ) | const |
Returns the value of BasisCurve attribute. This attribute represents the curve to be trimmed. For curves with multiple representations any parameter values specified as Trim1 or Trim2 refer to the master representation of the BasisCurve only.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented from OdIfc2x_final::IfcBoundedCurve.
| IfcTrimmingPreference OdIfc2x_final::IfcTrimmedCurve::getMasterRepresentation | ( | ) | const |
Returns the value of MasterRepresentation attribute. This attribute represents the preferred way of trimming.
| OdDAI::Boolean OdIfc2x_final::IfcTrimmedCurve::getSenseAgreement | ( | ) | const |
Returns the value of SenseAgreement attribute. This attribute indicates whether the direction of the trimmed curve agrees with or is opposed to the direction of the basis curve.
Gets the value of Trim1 attribute. This attribute represents the first trimming point which can be specified as a Cartesian point, as a real parameter or both.
| Trim1 | [out] Receives the Trim1 attribute. |
| void OdIfc2x_final::IfcTrimmedCurve::getTrim1WrapperArray | ( | OdArray< IfcTrimmingSelect > & | Trim1 | ) | const |
Gets the value of Trim1 attribute. This attribute represents the first trimming point which can be specified as a Cartesian point, as a real parameter or both.
| Trim1 | [out] Receives the Trim1 attribute. |
Gets the value of Trim2 attribute. This attribute represents the second trimming point which can be specified as a Cartesian point, as a real parameter or both.
| Trim2 | [in] Receives the Trim2 attribute. |
| void OdIfc2x_final::IfcTrimmedCurve::getTrim2WrapperArray | ( | OdArray< IfcTrimmingSelect > & | Trim2 | ) | const |
Gets the value of Trim2 attribute. This attribute represents the second trimming point which can be specified as a Cartesian point, as a real parameter or both.
| Trim2 | [in] Receives the Trim2 attribute. |
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc2x_final::IfcBoundedCurve.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
|
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 OdIfc::OdIfcInstance.
| void OdIfc2x_final::IfcTrimmedCurve::setBasisCurve | ( | const OdDAIObjectId & | BasisCurve | ) |
Sets the value of BasisCurve attribute. This attribute represents the curve to be trimmed. For curves with multiple representations any parameter values specified as Trim1 or Trim2 refer to the master representation of the BasisCurve only.
| BasisCurve | [in] Basis curve to set. |
| void OdIfc2x_final::IfcTrimmedCurve::setMasterRepresentation | ( | IfcTrimmingPreference | MasterRepresentation | ) |
Sets the value of MasterRepresentation attribute. This attribute represents the preferred way of trimming.
| MasterRepresentation | [in] Master representation to set. |
| void OdIfc2x_final::IfcTrimmedCurve::setSenseAgreement | ( | OdDAI::Boolean | SenseAgreement | ) |
Sets the value of SenseAgreement attribute. This attribute indicates whether the direction of the trimmed curve agrees with or is opposed to the direction of the basis curve.
| SenseAgreement | [in] Sense agreement to set. |
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc::OdIfcInstance.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc::OdIfcInstance.
| OdDAI::SetOfSelect & OdIfc2x_final::IfcTrimmedCurve::trim1 | ( | ) |
Returns the value of Trim1 attribute. This attribute represents the first trimming point which can be specified as a Cartesian point, as a real parameter or both.
| OdDAI::SetOfSelect & OdIfc2x_final::IfcTrimmedCurve::trim2 | ( | ) |
Returns the value of Trim2 attribute. This attribute represents the second trimming point which can be specified as a Cartesian point, as a real parameter or both.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc2x_final::IfcBoundedCurve.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc::OdIfcInstance.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc::OdIfcInstance.
|
protected |
Definition at line 266 of file Ifc2x_Final/IfcTrimmedCurveAutoImpl.h.
|
protected |
Definition at line 270 of file Ifc2x_Final/IfcTrimmedCurveAutoImpl.h.
|
protected |
Definition at line 269 of file Ifc2x_Final/IfcTrimmedCurveAutoImpl.h.
|
protected |
Definition at line 267 of file Ifc2x_Final/IfcTrimmedCurveAutoImpl.h.
|
protected |
Definition at line 268 of file Ifc2x_Final/IfcTrimmedCurveAutoImpl.h.