|
CFx SDK Documentation 2026 SP0
|
#include <IfcVirtualGridIntersectionAutoImpl.h>
Public Member Functions | |
| void | getIntersectingAxes (OdDAIObjectIds &IntersectingAxes) const |
| OdDAI::ListOfOdDAIObjectId & | intersectingAxes () |
| void | getOffsetDistances (OdArray< double > &OffsetDistances) const |
| OdDAI::ListOfDouble & | offsetDistances () |
| virtual OdResult | inFields (OdDAI::OdSpfFilerBase *rdFiler) override |
| virtual OdResult | outFields (OdDAI::OdSpfFilerBase *wrFiler) override |
| virtual void | setInverseCounterParts () 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 OdIfc2x3::OdIfc2x3Instance | |
| 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 | |
| OdDAI::ListOfOdDAIObjectId | m_IntersectingAxes |
| OdDAI::ListOfDouble | m_OffsetDistances |
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) |
IfcVirtualGridIntersection defines the derived location of the intersection between two grid axes. Offset values can be specified to set an offset distance to the grid axis for the calculation of the virtual grid intersection.
The two intersecting axes (IntersectingAxes) define the intersection point, which exact location (in terms of the Cartesian point representing the intersection) has to be calculated from the geometric representation of the two participating curves.
Offset values can be specified (OffsetDistances). If specified, the position within the list of OffsetDistances corresponds with the position within the list of IntersectingAxes. Therefore: OffsetDistances[1] sets the offset to IntersectingAxes[1], OffsetDistances[2] sets the offset to IntersectingAxes[2] OffsetDistances[3] sets the offset to the virtual intersection in direction of the orientation of the cross product of IntersectingAxes[1] and the orthogonal complement of the IntersectingAxes[1] (which is the positive or negative direction of the z axis of the design grid position).
The image below illustrates two offset distances specified where the virtual intersection is defined in the xy plane of the grid axis placement.
<IMAGE ifcvirtualgridintersection-layout1>
The image below illustrates three offset distances specified where the virtual intersection is defined by an offset (in direction of the z-axis of the design grid placement) to the virtual intersection in the xy plane of the grid axis placement. The distance of the offset curve (OffsetDistances[n]) is measured from the basis curve. The distance can be positive, negative or zero. A positive value of distance defines an offset in the direction which is normal to the curve in the sense of an anti-clockwise rotation through 90 degrees from the tangent vector T at the specified point. (This is in the direction of orthogonal complement(T).) This can be reverted by the SameSense attribute at IfcGridAxis which can switch the sense of the AxisCurve.
<IMAGE ifcvirtualgridintersection-layout2>
The image below illustrates an example of a negative offset where the figure shows the side of the offset. IntersectingAxes[1].AxisCurve is an IfcTrimmedCurve with an IfcCircle as BasisCurve and SenseAgreement = TRUE. IntersectingAxes[1].SameSense = TRUE. OffsetDistances[1] is a negative length measure
<IMAGE ifcvirtualgridintersection-offset1>
Definition at line 77 of file Ifc2x3/IfcVirtualGridIntersectionAutoImpl.h.
|
overridevirtual |
Early-bound version of instances comparison.
| pOther | [in] Other application instance. |
| ordering | [out] Receives the ordering (comparison) status. |
|
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 OdIfc::OdIfcInstance.
|
overridevirtual |
Returns a type of a class instance.
| void OdIfc2x3::IfcVirtualGridIntersection::getIntersectingAxes | ( | OdDAIObjectIds & | IntersectingAxes | ) | const |
Gets the value of IntersectingAxes attribute. This attribute represents two grid axes which intersects at exactly one intersection. If attribute OffsetDistances is omitted, the intersection defines the placement or ref direction of a grid placement directly. If OffsetDistances are specified, the intersection is defined by the offset curves to the grid axes.
| IntersectingAxes | [out] Receives the intersecting axes. |
| void OdIfc2x3::IfcVirtualGridIntersection::getOffsetDistances | ( | OdArray< double > & | OffsetDistances | ) | const |
Gets the value of OffsetDistances attribute. This attribute represents offset distances to the grid axes. If specified, it defines virtual offset curves to the grid axes. The intersection of the offset curves specify the virtual grid intersection.
| OffsetDistances | [out] Receives the offset distances. |
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
| OdDAI::ListOfOdDAIObjectId & OdIfc2x3::IfcVirtualGridIntersection::intersectingAxes | ( | ) |
Returns the value of IntersectingAxes attribute. This attribute represents two grid axes which intersect at exactly one intersection. If OffsetDistances attribute is omitted, the intersection defines the placement or ref direction of a grid placement directly. If OffsetDistances is specified, the intersection is defined by the offset curves to the grid axes.
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc::OdIfcInstance.
| OdDAI::ListOfDouble & OdIfc2x3::IfcVirtualGridIntersection::offsetDistances | ( | ) |
Returns the value of OffsetDistances attribute. This attribute represents offset distances to the grid axes. If specified, it defines virtual offset curves to the grid axes. The intersection of the offset curves specify the virtual grid intersection.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
|
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 OdIfc::OdIfcInstance.
|
overridevirtual |
Sets the object ID of this instance to inverse attributes of related instances according to schema specification of inverse attributes.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc::OdIfcInstance.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc::OdIfcInstance.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc::OdIfcInstance.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc::OdIfcInstance.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc::OdIfcInstance.
|
protected |
Definition at line 256 of file Ifc2x3/IfcVirtualGridIntersectionAutoImpl.h.
|
protected |
Definition at line 257 of file Ifc2x3/IfcVirtualGridIntersectionAutoImpl.h.