|
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 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::IfcRepresentationItem | |
| void | getInvLayerAssignment (OdDAIObjectIds &LayerAssignment) const |
| void | getInvStyledByItem (OdDAIObjectIds &StyledByItem) const |
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 | |
| 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>
\changes
IFC4 changes: Type of the SenseAgreement attribute changed from "boolean" to "IfcBoolean"
Definition at line 56 of file IFC4X4/IfcTrimmedCurveAutoImpl.h.
| OdIfc4x4::IfcTrimmedCurve::IfcTrimmedCurve | ( | ) |
Default constructor for the IfcTrimmedCurve class.
|
overridevirtual |
Early-bound version of instances comparison.
| pOther | [in] Other application instance. |
| ordering | [out] Receives the ordering (comparison) status. |
Reimplemented from OdIfc4x4::IfcBoundedCurve.
|
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 OdIfc4x4::IfcRepresentationItem.
| const OdDAIObjectId & OdIfc4x4::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 OdIfc4x4::IfcBoundedCurve.
| IfcTrimmingPreference OdIfc4x4::IfcTrimmedCurve::getMasterRepresentation | ( | ) | const |
Returns the value of MasterRepresentation attribute. This attribute represents the preferred way of trimming.
| OdDAI::Boolean OdIfc4x4::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 OdIfc4x4::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 OdIfc4x4::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. |
Reimplemented from OdIfc4x4::IfcRepresentationItem.
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc4x4::IfcBoundedCurve.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented from OdIfc4x4::IfcRepresentationItem.
|
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 OdIfc4x4::IfcRepresentationItem.
| void OdIfc4x4::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 OdIfc4x4::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 OdIfc4x4::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 OdIfc4x4::IfcRepresentationItem.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc4x4::IfcRepresentationItem.
| OdDAI::SetOfSelect & OdIfc4x4::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 & OdIfc4x4::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 OdIfc4x4::IfcBoundedCurve.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc4x4::IfcRepresentationItem.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc4x4::IfcRepresentationItem.
|
protected |
Definition at line 290 of file IFC4X4/IfcTrimmedCurveAutoImpl.h.
|
protected |
Definition at line 294 of file IFC4X4/IfcTrimmedCurveAutoImpl.h.
|
protected |
Definition at line 293 of file IFC4X4/IfcTrimmedCurveAutoImpl.h.
|
protected |
Definition at line 291 of file IFC4X4/IfcTrimmedCurveAutoImpl.h.
|
protected |
Definition at line 292 of file IFC4X4/IfcTrimmedCurveAutoImpl.h.