#include <IfcRectangularTrimmedSurfaceAutoImpl.h>
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 Ifc4x2/IfcRectangularTrimmedSurfaceAutoImpl.h.
◆ IfcRectangularTrimmedSurface()
| OdIfc4x2::IfcRectangularTrimmedSurface::IfcRectangularTrimmedSurface |
( |
| ) |
|
◆ getAttr() [1/2]
| virtual OdRxValue OdIfc4x2::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]
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 OdIfc4x2::IfcRepresentationItem.
◆ getBasisSurface()
| const OdDAIObjectId & OdIfc4x2::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 * OdIfc4x2::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 OdIfc4x2::IfcBoundedSurface.
◆ getU1()
| double OdIfc4x2::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 OdIfc4x2::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 OdIfc4x2::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 OdIfc4x2::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 OdIfc4x2::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 OdIfc4x2::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 OdIfc4x2::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 OdIfc4x2::IfcRepresentationItem.
◆ isKindOf()
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 OdIfc4x2::IfcBoundedSurface.
◆ outFields()
| virtual OdResult OdIfc4x2::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 OdIfc4x2::IfcRepresentationItem.
◆ putAttr() [1/2]
| virtual bool OdIfc4x2::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]
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 OdIfc4x2::IfcRepresentationItem.
◆ setBasisSurface()
| void OdIfc4x2::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 OdIfc4x2::IfcRectangularTrimmedSurface::setU1 |
( |
double | U1 | ) |
|
Sets the value of U1 attribute. This attribute represents the first u parametric value.
- Parameters
-
◆ setU2()
| void OdIfc4x2::IfcRectangularTrimmedSurface::setU2 |
( |
double | U2 | ) |
|
Sets the value of U2 attribute. This attribute represents the second u parametric value.
- Parameters
-
◆ setUsense()
| void OdIfc4x2::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 OdIfc4x2::IfcRectangularTrimmedSurface::setV1 |
( |
double | V1 | ) |
|
Sets the value of V1 attribute. This attribute represents the first v parametric value.
- Parameters
-
◆ setV2()
| void OdIfc4x2::IfcRectangularTrimmedSurface::setV2 |
( |
double | V2 | ) |
|
Sets the value of V2 attribute. This attribute represents the second v parametric value.
- Parameters
-
◆ setVsense()
| void OdIfc4x2::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 OdIfc4x2::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 OdIfc4x2::IfcRepresentationItem.
◆ testAttr() [2/2]
| virtual bool OdIfc4x2::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 OdIfc4x2::IfcRepresentationItem.
◆ type()
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 OdIfc4x2::IfcBoundedSurface.
◆ unsetAttr() [1/2]
| virtual void OdIfc4x2::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 OdIfc4x2::IfcRepresentationItem.
◆ unsetAttr() [2/2]
Resets a value for the specified attribute.
- Parameters
-
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc4x2::IfcRepresentationItem.
◆ m_BasisSurface
| OdDAIObjectId OdIfc4x2::IfcRectangularTrimmedSurface::m_BasisSurface |
|
protected |
◆ m_U1
| double OdIfc4x2::IfcRectangularTrimmedSurface::m_U1 |
|
protected |
◆ m_U2
| double OdIfc4x2::IfcRectangularTrimmedSurface::m_U2 |
|
protected |
◆ m_Usense
| OdDAI::Boolean OdIfc4x2::IfcRectangularTrimmedSurface::m_Usense |
|
protected |
◆ m_V1
| double OdIfc4x2::IfcRectangularTrimmedSurface::m_V1 |
|
protected |
◆ m_V2
| double OdIfc4x2::IfcRectangularTrimmedSurface::m_V2 |
|
protected |
◆ m_Vsense
| OdDAI::Boolean OdIfc4x2::IfcRectangularTrimmedSurface::m_Vsense |
|
protected |
The documentation for this class was generated from the following file: