|
| | XCAFDimTolObjects_DatumObject () |
| |
| | XCAFDimTolObjects_DatumObject (const occ::handle< XCAFDimTolObjects_DatumObject > &theObj) |
| |
| occ::handle< TCollection_HAsciiString > | GetSemanticName () const |
| | Returns semantic name.
|
| |
| void | SetSemanticName (const occ::handle< TCollection_HAsciiString > &theName) |
| | Sets semantic name.
|
| |
| occ::handle< TCollection_HAsciiString > | GetName () const |
| | Returns datum name.
|
| |
| void | SetName (const occ::handle< TCollection_HAsciiString > &theTag) |
| | Sets datum name.
|
| |
| NCollection_Sequence< XCAFDimTolObjects_DatumSingleModif > | GetModifiers () const |
| | Returns a sequence of modifiers of the datum.
|
| |
| void | SetModifiers (const NCollection_Sequence< XCAFDimTolObjects_DatumSingleModif > &theModifiers) |
| | Sets new sequence of datum modifiers.
|
| |
| void | GetModifierWithValue (XCAFDimTolObjects_DatumModifWithValue &theModifier, double &theValue) const |
| | Retrieves datum modifier with value.
|
| |
| void | SetModifierWithValue (const XCAFDimTolObjects_DatumModifWithValue theModifier, const double theValue) |
| | Sets datum modifier with value.
|
| |
| void | AddModifier (const XCAFDimTolObjects_DatumSingleModif theModifier) |
| | Adds a modifier to the datum sequence of modifiers.
|
| |
| TopoDS_Shape | GetDatumTarget () const |
| | Returns datum target shape.
|
| |
| void | SetDatumTarget (const TopoDS_Shape &theShape) |
| | Sets datum target shape.
|
| |
| int | GetPosition () const |
| | Returns datum position in the related geometric tolerance object.
|
| |
| void | SetPosition (const int thePosition) |
| | Sets datum position in the related geometric tolerance object.
|
| |
| bool | IsDatumTarget () const |
| | Returns True if the datum target is specified.
|
| |
| void | IsDatumTarget (const bool theIsDT) |
| | Sets or drops the datum target indicator.
|
| |
| XCAFDimTolObjects_DatumTargetType | GetDatumTargetType () const |
| | Returns datum target type.
|
| |
| void | SetDatumTargetType (const XCAFDimTolObjects_DatumTargetType theType) |
| | Sets datum target to point, line, rectangle, circle or area type.
|
| |
| gp_Ax2 | GetDatumTargetAxis () const |
| | Returns datum target axis. The Z axis of the datum placement denotes the normal of the surface pointing away from the material.
|
| |
| void | SetDatumTargetAxis (const gp_Ax2 &theAxis) |
| | Sets datum target axis.
|
| |
| double | GetDatumTargetLength () const |
| | Returns datum target length for line and rectangle types. The length along the X axis of the datum placement.
|
| |
| void | SetDatumTargetLength (const double theLength) |
| | Sets datum target length.
|
| |
| double | GetDatumTargetWidth () const |
| | Returns datum target width for rectangle type. The width along the derived Y axis, with the placement itself positioned at the centre of the rectangle.
|
| |
| void | SetDatumTargetWidth (const double theWidth) |
| | Sets datum target width.
|
| |
| int | GetDatumTargetNumber () const |
| | Returns datum target number.
|
| |
| void | SetDatumTargetNumber (const int theNumber) |
| | Sets datum target number.
|
| |
| void | SetPlane (const gp_Ax2 &thePlane) |
| | Sets annotation plane.
|
| |
| const gp_Ax2 & | GetPlane () const |
| | Returns annotation plane.
|
| |
| void | SetPoint (const gp_Pnt &thePnt) |
| | Sets a point on the datum target shape.
|
| |
| const gp_Pnt & | GetPoint () const |
| | Gets point on the datum shape.
|
| |
| void | SetPointTextAttach (const gp_Pnt &thePntText) |
| | Sets a position of the datum text.
|
| |
| const gp_Pnt & | GetPointTextAttach () const |
| | Gets datum text position.
|
| |
| bool | HasPlane () const |
| | Returns True if the datum has annotation plane.
|
| |
| bool | HasPoint () const |
| | Returns True if point on the datum target is specified.
|
| |
| bool | HasPointText () const |
| | Returns True if the datum text position is specified.
|
| |
| void | SetPresentation (const TopoDS_Shape &thePresentation, const occ::handle< TCollection_HAsciiString > &thePresentationName) |
| | Set graphical presentation for object.
|
| |
| TopoDS_Shape | GetPresentation () const |
| | Returns graphical presentation of the object.
|
| |
| occ::handle< TCollection_HAsciiString > | GetPresentationName () const |
| | Returns graphical presentation of the object.
|
| |
| bool | HasDatumTargetParams () |
| | Returns True if the datum has valid parameters for datum target (width, length, circle radius etc)
|
| |
| void | DumpJson (Standard_OStream &theOStream, int theDepth=-1) const |
| | Dumps the content of me into the stream.
|
| |
Public Member Functions inherited from Standard_Transient |
| | Standard_Transient () |
| | Empty constructor.
|
| |
| | Standard_Transient (const Standard_Transient &) |
| | Copy constructor – does nothing.
|
| |
| Standard_Transient & | operator= (const Standard_Transient &) |
| | Assignment operator, needed to avoid copying reference counter.
|
| |
| virtual | ~Standard_Transient ()=default |
| | Destructor must be virtual.
|
| |
| virtual const opencascade::handle< Standard_Type > & | DynamicType () const |
| | Returns a type descriptor about this object.
|
| |
| bool | IsInstance (const opencascade::handle< Standard_Type > &theType) const |
| | Returns a true value if this is an instance of Type.
|
| |
| bool | IsInstance (const char *const theTypeName) const |
| | Returns a true value if this is an instance of TypeName.
|
| |
| bool | IsKind (const opencascade::handle< Standard_Type > &theType) const |
| | Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism.
|
| |
| bool | IsKind (const char *const theTypeName) const |
| | Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism.
|
| |
| Standard_Transient * | This () const |
| | Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero.
|
| |
| int | GetRefCount () const noexcept |
| | Get the reference counter of this object.
|
| |
| void | IncrementRefCounter () noexcept |
| | Increments the reference counter of this object. Uses relaxed memory ordering since incrementing only requires atomicity, not synchronization with other memory operations.
|
| |
| int | DecrementRefCounter () noexcept |
| | Decrements the reference counter of this object; returns the decremented value. Uses release ordering for the decrement to ensure all writes to the object are visible before the count reaches zero. An acquire fence is added only when the count reaches zero, ensuring proper synchronization before deletion. This is more efficient than using acq_rel for every decrement.
|
| |
| virtual void | Delete () const |
| | Memory deallocator for transient classes.
|
| |
Access object to store datum.