CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdIfc4::IfcBSplineSurface Class Reference

#include <IfcBSplineSurfaceAutoImpl.h>

Inheritance diagram for OdIfc4::IfcBSplineSurface:
OdIfc4::IfcBoundedSurface OdIfc4::IfcSurface OdIfc4::IfcGeometricRepresentationItem OdIfc4::IfcRepresentationItem OdIfc4::OdIfc4Instance OdIfc::OdIfcInstance OdIfc4::IfcBSplineSurfaceWithKnots OdIfc4::IfcRationalBSplineSurfaceWithKnots

Public Member Functions

int getUDegree () const
 
void setUDegree (int UDegree)
 
int getVDegree () const
 
void setVDegree (int VDegree)
 
void getControlPointsList (OdArray< OdDAIObjectIds > &ControlPointsList) const
 
OdDAI::List< OdDAI::Aggr * > & controlPointsList ()
 
IfcBSplineSurfaceForm getSurfaceForm () const
 
void setSurfaceForm (IfcBSplineSurfaceForm SurfaceForm)
 
OdDAI::Logical getUClosed () const
 
void setUClosed (OdDAI::Logical UClosed)
 
OdDAI::Logical getVClosed () const
 
void setVClosed (OdDAI::Logical VClosed)
 
OdDAI::Logical getSelfIntersect () const
 
void setSelfIntersect (OdDAI::Logical SelfIntersect)
 
 IfcBSplineSurface ()
 
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 OdIfc4::IfcRepresentationItem
void getInvLayerAssignment (OdDAIObjectIds &LayerAssignment) const
 
void getInvStyledByItem (OdDAIObjectIds &StyledByItem) const
 
- Public Member Functions inherited from OdIfc4::OdIfc4Instance
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

int m_UDegree
 
int m_VDegree
 
OdDAI::List< OdDAI::Aggr * > m_ControlPointsList
 
OdDAI::Enum m_SurfaceForm
 
OdDAI::Logical m_UClosed
 
OdDAI::Logical m_VClosed
 
OdDAI::Logical m_SelfIntersect
 
- 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 IfcBSplineSurface is a general form of rational or polynomial parametric surface. The descriptions of symbols used below:

Variable Definition K1 Upper index on U control points K2 Upper index on V control points Pij Control points wij Weights d1 U degree d2 V degree

The control points are ordered as: P00, P01, P02, ..., PK1(K2-1), PK1K2

The weights, in the case of the rational subtype, are ordered similarly.

For each parameter, s = u or v, if k is the upper index on the control points and d is the degree for s, the knot array is an array of (k + d + 2) real numbers [s-d, ...., sk+1], such that for all indices j in [-d, k]; sj ≤ sj+1. This array is obtained from the appropriate u_knots or v_knots list by repeating each multiple knot according to the multiplicity.

Remarks
This definition may not be instantiated.

Definition at line 62 of file Ifc4/IfcBSplineSurfaceAutoImpl.h.

Constructor & Destructor Documentation

◆ IfcBSplineSurface()

OdIfc4::IfcBSplineSurface::IfcBSplineSurface ( )

Default constructor for the IfcBSplineSurface class.

Member Function Documentation

◆ comparedToEarlyImpl()

virtual bool OdIfc4::IfcBSplineSurface::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 OdIfc4::IfcBoundedSurface.

Reimplemented in OdIfc4::IfcBSplineSurfaceWithKnots, and OdIfc4::IfcRationalBSplineSurfaceWithKnots.

◆ controlPointsList()

OdDAI::List< OdDAI::Aggr * > & OdIfc4::IfcBSplineSurface::controlPointsList ( )

Returns the value of ControlPointsList attribute. This attribute represents this is a list of lists of control points.

Returns
Returns the value of ControlPointsList attribute.

◆ getAttr() [1/2]

virtual OdRxValue OdIfc4::IfcBSplineSurface::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.

Reimplemented in OdIfc4::IfcBSplineSurfaceWithKnots, and OdIfc4::IfcRationalBSplineSurfaceWithKnots.

◆ getAttr() [2/2]

virtual OdRxValue OdIfc4::IfcBSplineSurface::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 OdIfc4::IfcRepresentationItem.

Reimplemented in OdIfc4::IfcBSplineSurfaceWithKnots, and OdIfc4::IfcRationalBSplineSurfaceWithKnots.

◆ getControlPointsList()

void OdIfc4::IfcBSplineSurface::getControlPointsList ( OdArray< OdDAIObjectIds > & ControlPointsList) const

Gets the value of ControlPointsList attribute. This attribute represents this is a list of lists of control points.

Parameters
ControlPointsList[out] Receives the control points list.

◆ getInstanceType()

virtual OdDAI::Entity * OdIfc4::IfcBSplineSurface::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 OdIfc4::IfcBoundedSurface.

Reimplemented in OdIfc4::IfcBSplineSurfaceWithKnots, and OdIfc4::IfcRationalBSplineSurfaceWithKnots.

◆ getSelfIntersect()

OdDAI::Logical OdIfc4::IfcBSplineSurface::getSelfIntersect ( ) const

Returns the value of SelfIntersect attribute. This attribute indicates whether the surface is self-intersecting.

Returns
Returns the value of SelfIntersect attribute.

◆ getSurfaceForm()

IfcBSplineSurfaceForm OdIfc4::IfcBSplineSurface::getSurfaceForm ( ) const

Returns the value of SurfaceForm attribute. This attribute represents indicator of special surface types.

Returns
Returns the value of SurfaceForm attribute.

◆ getUClosed()

OdDAI::Logical OdIfc4::IfcBSplineSurface::getUClosed ( ) const

Returns the value of UClosed attribute. This attribute indicates whether the surface is closed in the u direction.

Returns
Returns the value of UClosed attribute.

◆ getUDegree()

int OdIfc4::IfcBSplineSurface::getUDegree ( ) const

Returns the value of UDegree attribute. This attribute represents algebraic degree of basis functions in u.

Returns
Returns the value of UDegree attribute.

◆ getVClosed()

OdDAI::Logical OdIfc4::IfcBSplineSurface::getVClosed ( ) const

Returns the value of VClosed attribute. This attribute indicates whether the surface is closed in the v direction.

Returns
Returns the value of VClosed attribute.

◆ getVDegree()

int OdIfc4::IfcBSplineSurface::getVDegree ( ) const

Returns the value of VDegree attribute. This attribute represents algebraic degree of basis functions in v.

Returns
Returns the value of VDegree attribute.

◆ inFields()

virtual OdResult OdIfc4::IfcBSplineSurface::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 OdIfc4::IfcRepresentationItem.

Reimplemented in OdIfc4::IfcBSplineSurfaceWithKnots, and OdIfc4::IfcRationalBSplineSurfaceWithKnots.

◆ isKindOf()

virtual bool OdIfc4::IfcBSplineSurface::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 OdIfc4::IfcBoundedSurface.

Reimplemented in OdIfc4::IfcBSplineSurfaceWithKnots, and OdIfc4::IfcRationalBSplineSurfaceWithKnots.

◆ outFields()

virtual OdResult OdIfc4::IfcBSplineSurface::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 OdIfc4::IfcRepresentationItem.

Reimplemented in OdIfc4::IfcBSplineSurfaceWithKnots, and OdIfc4::IfcRationalBSplineSurfaceWithKnots.

◆ putAttr() [1/2]

virtual bool OdIfc4::IfcBSplineSurface::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.

Reimplemented in OdIfc4::IfcBSplineSurfaceWithKnots, and OdIfc4::IfcRationalBSplineSurfaceWithKnots.

◆ putAttr() [2/2]

virtual bool OdIfc4::IfcBSplineSurface::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 OdIfc4::IfcRepresentationItem.

Reimplemented in OdIfc4::IfcBSplineSurfaceWithKnots, and OdIfc4::IfcRationalBSplineSurfaceWithKnots.

◆ setSelfIntersect()

void OdIfc4::IfcBSplineSurface::setSelfIntersect ( OdDAI::Logical SelfIntersect)

Sets the value of SelfIntersect attribute. This attribute indicates whether the surface is self-intersecting.

Parameters
SelfIntersect[in] SelfIntersect attribute to set.

◆ setSurfaceForm()

void OdIfc4::IfcBSplineSurface::setSurfaceForm ( IfcBSplineSurfaceForm SurfaceForm)

Sets the value of SurfaceForm attribute. This attribute represents indicator of special surface types.

Parameters
SurfaceForm[in] Surface form to set.

◆ setUClosed()

void OdIfc4::IfcBSplineSurface::setUClosed ( OdDAI::Logical UClosed)

Sets the value of UClosed attribute. This attribute indicates whether the surface is closed in the u direction.

Parameters
UClosed[in] UClosed attribute to set.

◆ setUDegree()

void OdIfc4::IfcBSplineSurface::setUDegree ( int UDegree)

Sets the value of UDegree attribute. This attribute represents algebraic degree of basis functions in u.

Parameters
UDegree[in] U degree to set.

◆ setVClosed()

void OdIfc4::IfcBSplineSurface::setVClosed ( OdDAI::Logical VClosed)

Sets the value of VClosed attribute. This attribute indicates whether the surface is closed in the v direction.

Parameters
VClosed[in] VClosed attribute to set.

◆ setVDegree()

void OdIfc4::IfcBSplineSurface::setVDegree ( int VDegree)

Sets the value of VDegree attribute. This attribute represents algebraic degree of basis functions in v.

Parameters
VDegree[in] V degree to set.

◆ testAttr() [1/2]

virtual bool OdIfc4::IfcBSplineSurface::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 OdIfc4::IfcRepresentationItem.

Reimplemented in OdIfc4::IfcBSplineSurfaceWithKnots, and OdIfc4::IfcRationalBSplineSurfaceWithKnots.

◆ testAttr() [2/2]

virtual bool OdIfc4::IfcBSplineSurface::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 OdIfc4::IfcRepresentationItem.

Reimplemented in OdIfc4::IfcBSplineSurfaceWithKnots, and OdIfc4::IfcRationalBSplineSurfaceWithKnots.

◆ type()

virtual OdIfc::OdIfcEntityType OdIfc4::IfcBSplineSurface::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 OdIfc4::IfcBoundedSurface.

Reimplemented in OdIfc4::IfcBSplineSurfaceWithKnots, and OdIfc4::IfcRationalBSplineSurfaceWithKnots.

◆ unsetAttr() [1/2]

virtual void OdIfc4::IfcBSplineSurface::unsetAttr ( const char * explicitAttrName)
overridevirtual

Resets a value for the specified attribute.

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

Reimplemented from OdIfc4::IfcRepresentationItem.

Reimplemented in OdIfc4::IfcBSplineSurfaceWithKnots, and OdIfc4::IfcRationalBSplineSurfaceWithKnots.

◆ unsetAttr() [2/2]

virtual void OdIfc4::IfcBSplineSurface::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 OdIfc4::IfcRepresentationItem.

Reimplemented in OdIfc4::IfcBSplineSurfaceWithKnots, and OdIfc4::IfcRationalBSplineSurfaceWithKnots.

Member Data Documentation

◆ m_ControlPointsList

OdDAI::List<OdDAI::Aggr*> OdIfc4::IfcBSplineSurface::m_ControlPointsList
protected

Definition at line 312 of file Ifc4/IfcBSplineSurfaceAutoImpl.h.

◆ m_SelfIntersect

OdDAI::Logical OdIfc4::IfcBSplineSurface::m_SelfIntersect
protected

Definition at line 316 of file Ifc4/IfcBSplineSurfaceAutoImpl.h.

◆ m_SurfaceForm

OdDAI::Enum OdIfc4::IfcBSplineSurface::m_SurfaceForm
protected

Definition at line 313 of file Ifc4/IfcBSplineSurfaceAutoImpl.h.

◆ m_UClosed

OdDAI::Logical OdIfc4::IfcBSplineSurface::m_UClosed
protected

Definition at line 314 of file Ifc4/IfcBSplineSurfaceAutoImpl.h.

◆ m_UDegree

int OdIfc4::IfcBSplineSurface::m_UDegree
protected

Definition at line 310 of file Ifc4/IfcBSplineSurfaceAutoImpl.h.

◆ m_VClosed

OdDAI::Logical OdIfc4::IfcBSplineSurface::m_VClosed
protected

Definition at line 315 of file Ifc4/IfcBSplineSurfaceAutoImpl.h.

◆ m_VDegree

int OdIfc4::IfcBSplineSurface::m_VDegree
protected

Definition at line 311 of file Ifc4/IfcBSplineSurfaceAutoImpl.h.


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