CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdIfc4x3_rc1::IfcTrimmedCurve Class Reference

#include <IfcTrimmedCurveAutoImpl.h>

Inheritance diagram for OdIfc4x3_rc1::IfcTrimmedCurve:
OdIfc4x3_rc1::IfcBoundedCurve OdIfc4x3_rc1::IfcCurve OdIfc4x3_rc1::IfcGeometricRepresentationItem OdIfc4x3_rc1::IfcRepresentationItem OdIfc4x3_rc1::OdIfc4x3_RC1Instance OdIfc::OdIfcInstance

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 OdIfc4x3_rc1::IfcBoundedCurve
void getInvPositioningElement (OdDAIObjectIds &PositioningElement) const
 
- Public Member Functions inherited from OdIfc4x3_rc1::IfcRepresentationItem
void getInvLayerAssignment (OdDAIObjectIds &LayerAssignment) const
 
void getInvStyledByItem (OdDAIObjectIds &StyledByItem) const
 
- Public Member Functions inherited from OdIfc4x3_rc1::OdIfc4x3_RC1Instance
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 OdGsCachegsNode () 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
voidm_resPtr
 
IfcOpResult m_resolved
 

Additional Inherited Members

- Static Public Member Functions inherited from OdIfc::OdIfcInstance
static const OdGePoint3dasPoint3d (const OdIfcInstance *inst)
 
static const OdGePoint2dasPoint2d (const OdIfcInstance *inst)
 
static const OdGeVector3dasVector3d (const OdIfcInstance *inst)
 
static const OdGeVector2dasVector2d (const OdIfcInstance *inst)
 
static const OdGeMatrix2dasMatrix2d (const OdIfcInstance *inst)
 
static const OdGeMatrix3dasMatrix3d (const OdIfcInstance *inst)
 
static OdIfcCompoundPtr asCompound (OdSmartPtr< OdIfcInstance > inst)
 
static const OdCmEntityColorasRgbColor (const OdIfcInstance *inst)
 

Detailed Description

An IfcTrimmedCurve is a bounded curve that is trimmed at both ends.

  • Details - The trimming points can be provided by a Cartesian point or by a parameter value, based on the parameterization of the BasisCurve. The SenseAgreement attribute indicates whether the direction of the IfcTrimmedCurve agrees with or is opposed to the direction of the BasisCurve.

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 Ifc4x3_RC1/IfcTrimmedCurveAutoImpl.h.

Constructor & Destructor Documentation

◆ IfcTrimmedCurve()

OdIfc4x3_rc1::IfcTrimmedCurve::IfcTrimmedCurve ( )

Default constructor for the IfcTrimmedCurve class.

Member Function Documentation

◆ comparedToEarlyImpl()

virtual bool OdIfc4x3_rc1::IfcTrimmedCurve::comparedToEarlyImpl ( const OdDAI::ApplicationInstance * pOther,
OdRx::Ordering & ordering ) const
overridevirtual

Early-bound version of instances comparison.

Parameters
pOther[in] Other application instance.
ordering[out] Receives the ordering (comparison) status.
Returns
true if comparison was performed, false if method has no implementation, so late-bound version could be applied.
Remarks
If the method returns true, the ordering parameter can receive one of the following statuses:
Value Description kLessThan -1 This object < Other Object. kEqual 0 This object = Other Object. kGreaterThan 1 This object > Other Object. kNotOrderable 2 This class is not orderable.

Reimplemented from OdIfc4x3_rc1::IfcBoundedCurve.

◆ getAttr() [1/2]

virtual OdRxValue OdIfc4x3_rc1::IfcTrimmedCurve::getAttr ( const char * attrName) const
overridevirtual

Returns an attribute value for the specified attribute name.

Parameters
attrName[in] Name of an attribute to query.
Returns
OdRxValue object that represents a generic variant type value.

◆ getAttr() [2/2]

virtual OdRxValue OdIfc4x3_rc1::IfcTrimmedCurve::getAttr ( const OdIfc::OdIfcAttribute attrDef) const
overridevirtual

Returns an attribute value for the specified attribute definition.

Parameters
attrDef[in] Attribute definition to query.
Returns
OdRxValue object that represents a generic variant type value.

Reimplemented from OdIfc4x3_rc1::IfcBoundedCurve.

◆ getBasisCurve()

const OdDAIObjectId & OdIfc4x3_rc1::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.

Returns
Returns the value of BasisCurve attribute.

◆ getInstanceType()

virtual OdDAI::Entity * OdIfc4x3_rc1::IfcTrimmedCurve::getInstanceType ( ) const
overridevirtual

Returns a type of a class instance.

Returns
Pointer to the <exref target=https://docs.opendesign.com/tkernel_api_cpp/OdDAI__Entity.html>>OdDAI::Entity</exref> type that determines an entity definition within a schema.

Reimplemented from OdIfc4x3_rc1::IfcBoundedCurve.

◆ getMasterRepresentation()

IfcTrimmingPreference OdIfc4x3_rc1::IfcTrimmedCurve::getMasterRepresentation ( ) const

Returns the value of MasterRepresentation attribute. This attribute represents the preferred way of trimming.

Returns
Returns the value of MasterRepresentation attribute.

◆ getSenseAgreement()

OdDAI::Boolean OdIfc4x3_rc1::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.

Returns
Returns the value of SenseAgreement attribute.

◆ getTrim1()

void OdIfc4x3_rc1::IfcTrimmedCurve::getTrim1 ( OdArray< OdDAI::Select > & 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.

Parameters
Trim1[out] Receives the Trim1 attribute.

◆ getTrim1WrapperArray()

void OdIfc4x3_rc1::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.

Parameters
Trim1[out] Receives the Trim1 attribute.

◆ getTrim2()

void OdIfc4x3_rc1::IfcTrimmedCurve::getTrim2 ( OdArray< OdDAI::Select > & 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.

Parameters
Trim2[in] Receives the Trim2 attribute.

◆ getTrim2WrapperArray()

void OdIfc4x3_rc1::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.

Parameters
Trim2[in] Receives the Trim2 attribute.

◆ inFields()

virtual OdResult OdIfc4x3_rc1::IfcTrimmedCurve::inFields ( OdDAI::OdSpfFilerBase * rdFiler)
overridevirtual

Reads object's data from the specified filer.

Parameters
rdFiler[in] Pointer to a filer from which to read the data.
Returns
A value of OdResult type that contains the result of the method execution.

Reimplemented from OdIfc4x3_rc1::IfcBoundedCurve.

◆ isKindOf()

virtual bool OdIfc4x3_rc1::IfcTrimmedCurve::isKindOf ( OdIfc::OdIfcEntityType entityType) const
overridevirtual

Checks whether the specified instance is the object derived from or belongs to this class.

Parameters
entityType[in] Entity to check.
Returns
true if the specified instance is the object derived from or belongs to this class, false otherwise.

Reimplemented from OdIfc4x3_rc1::IfcBoundedCurve.

◆ outFields()

virtual OdResult OdIfc4x3_rc1::IfcTrimmedCurve::outFields ( OdDAI::OdSpfFilerBase * wrFiler)
overridevirtual

Writes object's data the the specified filer.

Parameters
wrFiler[in] Pointer to a filer to which to write the data.
Returns
A value of OdResult type that contains the result of the method execution.

Reimplemented from OdIfc4x3_rc1::IfcBoundedCurve.

◆ putAttr() [1/2]

virtual bool OdIfc4x3_rc1::IfcTrimmedCurve::putAttr ( const char * explicitAttrName,
const OdRxValue & val )
overridevirtual

Sets the specified attribute with a given value.

Parameters
explicitAttrName[in] Explicit name of the attribute to set.
val[in] Value to set.
Returns
true if the value is successfully set for the specified attribute, false otherwise.

Reimplemented from OdIfc::OdIfcInstance.

◆ putAttr() [2/2]

virtual bool OdIfc4x3_rc1::IfcTrimmedCurve::putAttr ( const OdIfc::OdIfcAttribute explicitAttrDef,
const OdRxValue & val )
overridevirtual

Sets the specified attribute with a given value.

Parameters
explicitAttrDef[in] Explicit attribute definition to set.
val[in] Value to set.
Returns
true if the value is successfully set for the specified attribute, false otherwise.

Reimplemented from OdIfc4x3_rc1::IfcBoundedCurve.

◆ setBasisCurve()

void OdIfc4x3_rc1::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.

Parameters
BasisCurve[in] Basis curve to set.

◆ setMasterRepresentation()

void OdIfc4x3_rc1::IfcTrimmedCurve::setMasterRepresentation ( IfcTrimmingPreference MasterRepresentation)

Sets the value of MasterRepresentation attribute. This attribute represents the preferred way of trimming.

Parameters
MasterRepresentation[in] Master representation to set.

◆ setSenseAgreement()

void OdIfc4x3_rc1::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.

Parameters
SenseAgreement[in] Sense agreement to set.

◆ testAttr() [1/2]

virtual bool OdIfc4x3_rc1::IfcTrimmedCurve::testAttr ( const char * explicitAttrName) const
overridevirtual

Checks whether the specified attribute is set.

Parameters
explicitAttrName[in] Explicit name of the attribute to test.
Returns
true if the specified attribute is set, false otherwise.

Reimplemented from OdIfc4x3_rc1::IfcBoundedCurve.

◆ testAttr() [2/2]

virtual bool OdIfc4x3_rc1::IfcTrimmedCurve::testAttr ( const OdIfc::OdIfcAttribute explicitAttrDef) const
overridevirtual

Checks whether the specified attribute is set.

Parameters
explicitAttrDef[in] Attribute definition to test.
Returns
true if the specified attribute is set, false otherwise.

Reimplemented from OdIfc4x3_rc1::IfcBoundedCurve.

◆ trim1()

OdDAI::SetOfSelect & OdIfc4x3_rc1::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.

Returns
Returns the value of Trim1 attribute.

◆ trim2()

OdDAI::SetOfSelect & OdIfc4x3_rc1::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.

Returns
Returns the value of Trim2 attribute.

◆ type()

virtual OdIfc::OdIfcEntityType OdIfc4x3_rc1::IfcTrimmedCurve::type ( ) const
overridevirtual

Returns the type of this entity.

Returns
A value of the <exref target=https://docs.opendesign.com/tkernel_api_cpp/OdIfc__OdIfcEntityType.html>>OdIfc::OdIfcEntityType</exref> type that represents type of this entity.

Reimplemented from OdIfc4x3_rc1::IfcBoundedCurve.

◆ unsetAttr() [1/2]

virtual void OdIfc4x3_rc1::IfcTrimmedCurve::unsetAttr ( const char * explicitAttrName)
overridevirtual

Resets a value for the specified attribute.

Parameters
explicitAttrName[in] Explicit name of the attribute to reset.

Reimplemented from OdIfc4x3_rc1::IfcBoundedCurve.

◆ unsetAttr() [2/2]

virtual void OdIfc4x3_rc1::IfcTrimmedCurve::unsetAttr ( const OdIfc::OdIfcAttribute explicitAttrDef)
overridevirtual

Resets a value for the specified attribute.

Parameters
explicitAttrDef[in] Explicit definition that represents an attribute to reset.

Reimplemented from OdIfc4x3_rc1::IfcBoundedCurve.

Member Data Documentation

◆ m_BasisCurve

OdDAIObjectId OdIfc4x3_rc1::IfcTrimmedCurve::m_BasisCurve
protected

Definition at line 290 of file Ifc4x3_RC1/IfcTrimmedCurveAutoImpl.h.

◆ m_MasterRepresentation

OdDAI::Enum OdIfc4x3_rc1::IfcTrimmedCurve::m_MasterRepresentation
protected

Definition at line 294 of file Ifc4x3_RC1/IfcTrimmedCurveAutoImpl.h.

◆ m_SenseAgreement

OdDAI::Boolean OdIfc4x3_rc1::IfcTrimmedCurve::m_SenseAgreement
protected

Definition at line 293 of file Ifc4x3_RC1/IfcTrimmedCurveAutoImpl.h.

◆ m_Trim1

OdDAI::SetOfSelect OdIfc4x3_rc1::IfcTrimmedCurve::m_Trim1
protected

Definition at line 291 of file Ifc4x3_RC1/IfcTrimmedCurveAutoImpl.h.

◆ m_Trim2

OdDAI::SetOfSelect OdIfc4x3_rc1::IfcTrimmedCurve::m_Trim2
protected

Definition at line 292 of file Ifc4x3_RC1/IfcTrimmedCurveAutoImpl.h.


The documentation for this class was generated from the following file: