CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdIfc4x4::IfcRectangularTrimmedSurface Class Reference

#include <IfcRectangularTrimmedSurfaceAutoImpl.h>

Inheritance diagram for OdIfc4x4::IfcRectangularTrimmedSurface:
OdIfc4x4::IfcBoundedSurface OdIfc4x4::IfcSurface OdIfc4x4::IfcGeometricRepresentationItem OdIfc4x4::IfcRepresentationItem OdIfc4x4::OdIFC4X4Instance OdIfc::OdIfcInstance

Public Member Functions

const OdDAIObjectId & getBasisSurface () const
 
void setBasisSurface (const OdDAIObjectId &BasisSurface)
 
double getU1 () const
 
void setU1 (double U1)
 
double getV1 () const
 
void setV1 (double V1)
 
double getU2 () const
 
void setU2 (double U2)
 
double getV2 () const
 
void setV2 (double V2)
 
OdDAI::Boolean getUsense () const
 
void setUsense (OdDAI::Boolean Usense)
 
OdDAI::Boolean getVsense () const
 
void setVsense (OdDAI::Boolean Vsense)
 
 IfcRectangularTrimmedSurface ()
 
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 OdGsCachegsNode () const
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *traits) const
 
virtual bool subWorldDraw (OdGiWorldDraw *wd) const
 
virtual OdDbStub * ownerId () const
 

Protected Attributes

OdDAIObjectId m_BasisSurface
 
double m_U1
 
double m_V1
 
double m_U2
 
double m_V2
 
OdDAI::Boolean m_Usense
 
OdDAI::Boolean m_Vsense
 
- 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

The IfcRectangularTrimmedSurface is a surface created by bounding its BasisSurface along two pairs of parallel curves defined within the parametric space of the referenced surface.

\changes

IFC4 changes: Type of the Usense attribute changed from "boolean" to "IfcBoolean" Type of the Vsense attribute changed from "boolean" to "IfcBoolean"

Definition at line 48 of file IFC4X4/IfcRectangularTrimmedSurfaceAutoImpl.h.

Constructor & Destructor Documentation

◆ IfcRectangularTrimmedSurface()

OdIfc4x4::IfcRectangularTrimmedSurface::IfcRectangularTrimmedSurface ( )

Default constructor for the IfcRectangularTrimmedSurface class.

Member Function Documentation

◆ comparedToEarlyImpl()

virtual bool OdIfc4x4::IfcRectangularTrimmedSurface::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 OdIfc4x4::IfcBoundedSurface.

◆ getAttr() [1/2]

virtual OdRxValue OdIfc4x4::IfcRectangularTrimmedSurface::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 OdIfc4x4::IfcRectangularTrimmedSurface::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 OdIfc4x4::IfcRepresentationItem.

◆ getBasisSurface()

const OdDAIObjectId & OdIfc4x4::IfcRectangularTrimmedSurface::getBasisSurface ( ) const

Returns the value of BasisSurface attribute. This attribute represents a surface that is trimmed.

Returns
Returns the value of BasisSurface attribute.

◆ getInstanceType()

virtual OdDAI::Entity * OdIfc4x4::IfcRectangularTrimmedSurface::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 OdIfc4x4::IfcBoundedSurface.

◆ getU1()

double OdIfc4x4::IfcRectangularTrimmedSurface::getU1 ( ) const

Returns the value of U1 attribute. This attribute represents the first u parametric value.

Returns
Returns the value of U1 attribute.

◆ getU2()

double OdIfc4x4::IfcRectangularTrimmedSurface::getU2 ( ) const

Returns the value of U2 attribute. This attribute represents the second u parametric value.

Returns
Returns the value of U2 attribute.

◆ getUsense()

OdDAI::Boolean OdIfc4x4::IfcRectangularTrimmedSurface::getUsense ( ) const

Returns the value of Usense attribute. This attribute indicates whether the direction of the first parameter of the trimmed surface agrees with or opposes the sense of u in the basis surface.

Returns
Returns the value of Usense attribute.

◆ getV1()

double OdIfc4x4::IfcRectangularTrimmedSurface::getV1 ( ) const

Returns the value of V1 attribute. This attribute represents the first v parametric value.

Returns
Returns the value of V1 attribute.

◆ getV2()

double OdIfc4x4::IfcRectangularTrimmedSurface::getV2 ( ) const

Returns the value of V2 attribute. This attribute represents the second v parametric value.

Returns
Returns the value of V2 attribute.

◆ getVsense()

OdDAI::Boolean OdIfc4x4::IfcRectangularTrimmedSurface::getVsense ( ) const

Returns the value of Vsense attribute. This attribute indicates whether the direction of the second parameter of the trimmed surface agrees with or opposes the sense of v in the basis surface.

Returns
Returns the value of Vsense attribute.

◆ inFields()

virtual OdResult OdIfc4x4::IfcRectangularTrimmedSurface::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 OdIfc4x4::IfcRepresentationItem.

◆ isKindOf()

virtual bool OdIfc4x4::IfcRectangularTrimmedSurface::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 OdIfc4x4::IfcBoundedSurface.

◆ outFields()

virtual OdResult OdIfc4x4::IfcRectangularTrimmedSurface::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 OdIfc4x4::IfcRepresentationItem.

◆ putAttr() [1/2]

virtual bool OdIfc4x4::IfcRectangularTrimmedSurface::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 OdIfc4x4::IfcRectangularTrimmedSurface::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 OdIfc4x4::IfcRepresentationItem.

◆ setBasisSurface()

void OdIfc4x4::IfcRectangularTrimmedSurface::setBasisSurface ( const OdDAIObjectId & BasisSurface)

Sets the value of BasisSurface attribute. This attribute represents a surface that is trimmed.

Parameters
BasisSurface[in] Basis surface to set.

◆ setU1()

void OdIfc4x4::IfcRectangularTrimmedSurface::setU1 ( double U1)

Sets the value of U1 attribute. This attribute represents the first u parametric value.

Parameters
U1[in] U1 to set.

◆ setU2()

void OdIfc4x4::IfcRectangularTrimmedSurface::setU2 ( double U2)

Sets the value of U2 attribute. This attribute represents the second u parametric value.

Parameters
U2[in] U2 to set.

◆ setUsense()

void OdIfc4x4::IfcRectangularTrimmedSurface::setUsense ( OdDAI::Boolean Usense)

Sets the value of Usense attribute. This attribute indicates whether the direction of the first parameter of the trimmed surface agrees with or opposes the sense of u in the basis surface.

Parameters
Usense[in] Usense to set.

◆ setV1()

void OdIfc4x4::IfcRectangularTrimmedSurface::setV1 ( double V1)

Sets the value of V1 attribute. This attribute represents the first v parametric value.

Parameters
V1[in] V1 to set.

◆ setV2()

void OdIfc4x4::IfcRectangularTrimmedSurface::setV2 ( double V2)

Sets the value of V2 attribute. This attribute represents the second v parametric value.

Parameters
V2[in] V2 to set.

◆ setVsense()

void OdIfc4x4::IfcRectangularTrimmedSurface::setVsense ( OdDAI::Boolean Vsense)

Sets the value of Vsense attribute. This attribute indicates whether the direction of the second parameter of the trimmed surface agrees with or opposes the sense of v in the basis surface.

Parameters
Vsense[in] Vsense to set.

◆ testAttr() [1/2]

virtual bool OdIfc4x4::IfcRectangularTrimmedSurface::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 OdIfc4x4::IfcRepresentationItem.

◆ testAttr() [2/2]

virtual bool OdIfc4x4::IfcRectangularTrimmedSurface::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 OdIfc4x4::IfcRepresentationItem.

◆ type()

virtual OdIfc::OdIfcEntityType OdIfc4x4::IfcRectangularTrimmedSurface::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 OdIfc4x4::IfcBoundedSurface.

◆ unsetAttr() [1/2]

virtual void OdIfc4x4::IfcRectangularTrimmedSurface::unsetAttr ( const char * explicitAttrName)
overridevirtual

Resets a value for the specified attribute.

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

Reimplemented from OdIfc4x4::IfcRepresentationItem.

◆ unsetAttr() [2/2]

virtual void OdIfc4x4::IfcRectangularTrimmedSurface::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 OdIfc4x4::IfcRepresentationItem.

Member Data Documentation

◆ m_BasisSurface

OdDAIObjectId OdIfc4x4::IfcRectangularTrimmedSurface::m_BasisSurface
protected

◆ m_U1

double OdIfc4x4::IfcRectangularTrimmedSurface::m_U1
protected

◆ m_U2

double OdIfc4x4::IfcRectangularTrimmedSurface::m_U2
protected

◆ m_Usense

OdDAI::Boolean OdIfc4x4::IfcRectangularTrimmedSurface::m_Usense
protected

◆ m_V1

double OdIfc4x4::IfcRectangularTrimmedSurface::m_V1
protected

◆ m_V2

double OdIfc4x4::IfcRectangularTrimmedSurface::m_V2
protected

◆ m_Vsense

OdDAI::Boolean OdIfc4x4::IfcRectangularTrimmedSurface::m_Vsense
protected

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