Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions
XCAFDimTolObjects_DimensionObject Class Reference

Access object to store dimension data. More...

#include <XCAFDimTolObjects_DimensionObject.hxx>

Inheritance diagram for XCAFDimTolObjects_DimensionObject:
Inheritance graph
[legend]

Public Member Functions

 XCAFDimTolObjects_DimensionObject ()
 
 XCAFDimTolObjects_DimensionObject (const occ::handle< XCAFDimTolObjects_DimensionObject > &theObj)
 
occ::handle< TCollection_HAsciiStringGetSemanticName () const
 Returns semantic name.
 
void SetSemanticName (const occ::handle< TCollection_HAsciiString > &theName)
 Sets semantic name.
 
void SetQualifier (const XCAFDimTolObjects_DimensionQualifier theQualifier)
 Sets dimension qualifier as min., max. or average.
 
XCAFDimTolObjects_DimensionQualifier GetQualifier () const
 Returns dimension qualifier.
 
bool HasQualifier () const
 Returns True if the object has dimension qualifier.
 
void SetAngularQualifier (const XCAFDimTolObjects_AngularQualifier theAngularQualifier)
 Sets angular qualifier as small, large or equal.
 
XCAFDimTolObjects_AngularQualifier GetAngularQualifier () const
 Returns angular qualifier.
 
bool HasAngularQualifier () const
 Returns True if the object has angular qualifier.
 
void SetType (const XCAFDimTolObjects_DimensionType theTyupe)
 Sets a specific type of dimension.
 
XCAFDimTolObjects_DimensionType GetType () const
 Returns dimension type.
 
double GetValue () const
 Returns the main dimension value. It will be the middle value in case of range dimension.
 
occ::handle< NCollection_HArray1< double > > GetValues () const
 Returns raw array of dimension values.
 
void SetValue (const double theValue)
 Sets the main dimension value. Overwrites previous values.
 
void SetValues (const occ::handle< NCollection_HArray1< double > > &theValue)
 Replaces current raw array of dimension values with theValues array.
 
bool IsDimWithRange () const
 Returns True if the dimension is of range kind. Dimension is of range kind if its values array contains two elements defining lower and upper bounds.
 
void SetUpperBound (const double theUpperBound)
 Sets the upper bound of the range dimension, otherwise resets it to an empty range with the specified upper bound.
 
void SetLowerBound (const double theLowerBound)
 Sets the lower bound of the range dimension, otherwise resets it to an empty range with the specified lower bound.
 
double GetUpperBound () const
 Returns the upper bound of the range dimension, otherwise - zero.
 
double GetLowerBound () const
 Returns the lower bound of the range dimension, otherwise - zero.
 
bool IsDimWithPlusMinusTolerance () const
 Returns True if the dimension is of +/- tolerance kind. Dimension is of +/- tolerance kind if its values array contains three elements defining the main value and the lower/upper tolerances.
 
bool SetUpperTolValue (const double theUperTolValue)
 Sets the upper value of the toleranced dimension, otherwise resets a simple dimension to toleranced one with the specified lower/upper tolerances. Returns False in case of range dimension.
 
bool SetLowerTolValue (const double theLowerTolValue)
 Sets the lower value of the toleranced dimension, otherwise resets a simple dimension to toleranced one with the specified lower/upper tolerances. Returns False in case of range dimension.
 
double GetUpperTolValue () const
 Returns the lower value of the toleranced dimension, otherwise - zero.
 
double GetLowerTolValue () const
 Returns the upper value of the toleranced dimension, otherwise - zero.
 
bool IsDimWithClassOfTolerance () const
 Returns True if the form variance was set to not XCAFDimTolObjects_DimensionFormVariance_None value.
 
void SetClassOfTolerance (const bool theHole, const XCAFDimTolObjects_DimensionFormVariance theFormVariance, const XCAFDimTolObjects_DimensionGrade theGrade)
 Sets tolerance class of the dimension.
 
bool GetClassOfTolerance (bool &theHole, XCAFDimTolObjects_DimensionFormVariance &theFormVariance, XCAFDimTolObjects_DimensionGrade &theGrade) const
 Retrieves tolerance class parameters of the dimension. Returns True if the dimension is toleranced.
 
void SetNbOfDecimalPlaces (const int theL, const int theR)
 Sets the number of places to the left and right of the decimal point respectively.
 
void GetNbOfDecimalPlaces (int &theL, int &theR) const
 Returns the number of places to the left and right of the decimal point respectively.
 
NCollection_Sequence< XCAFDimTolObjects_DimensionModifGetModifiers () const
 Returns a sequence of modifiers of the dimension.
 
void SetModifiers (const NCollection_Sequence< XCAFDimTolObjects_DimensionModif > &theModifiers)
 Sets new sequence of dimension modifiers.
 
void AddModifier (const XCAFDimTolObjects_DimensionModif theModifier)
 Adds a modifier to the dimension sequence of modifiers.
 
TopoDS_Edge GetPath () const
 Returns a 'curve' along which the dimension is measured.
 
void SetPath (const TopoDS_Edge &thePath)
 Sets a 'curve' along which the dimension is measured.
 
bool GetDirection (gp_Dir &theDir) const
 Returns the orientation of the dimension in annotation plane.
 
bool SetDirection (const gp_Dir &theDir)
 Sets an orientation of the dimension in annotation plane.
 
void SetPointTextAttach (const gp_Pnt &thePntText)
 Sets position of the dimension text.
 
const gp_PntGetPointTextAttach () const
 Returns position of the dimension text.
 
bool HasTextPoint () const
 Returns True if the position of dimension text is specified.
 
void SetPlane (const gp_Ax2 &thePlane)
 Sets annotation plane.
 
const gp_Ax2GetPlane () const
 Returns annotation plane.
 
bool HasPlane () const
 Returns True if the object has annotation plane.
 
bool HasPoint () const
 Returns true, if connection point exists (for dimensional_size), if connection point for the first shape exists (for dimensional_location).
 
bool HasPoint2 () const
 
bool IsPointConnection () const
 Returns true, if the connection is a point not coordinate system (for dimensional_size), if connection point for the first shape exists (for dimensional_location).
 
bool IsPointConnection2 () const
 
void SetPoint (const gp_Pnt &thePnt)
 Set connection point (for dimensional_size), Set connection point for the first shape (for dimensional_location).
 
void SetPoint2 (const gp_Pnt &thePnt)
 
void SetConnectionAxis (const gp_Ax2 &theAxis)
 Set connection point as a coordinate system (for dimensional_size), Set connection point as a coordinate system for the first shape (for dimensional_location).
 
void SetConnectionAxis2 (const gp_Ax2 &theAxis)
 
gp_Pnt GetPoint () const
 Get connection point (for dimensional_size), Get connection point for the first shape (for dimensional_location).
 
gp_Pnt GetPoint2 () const
 
gp_Ax2 GetConnectionAxis () const
 Get connection point as a coordinate system (for dimensional_size), Get connection point as a coordinate system for the first shape (for dimensional_location).
 
gp_Ax2 GetConnectionAxis2 () const
 
occ::handle< TCollection_HAsciiStringGetConnectionName () const
 Returns connection name of the object.
 
occ::handle< TCollection_HAsciiStringGetConnectionName2 () const
 Returns 2nd connection name of the object.
 
void SetConnectionName (const occ::handle< TCollection_HAsciiString > &theName)
 Sets connection name of the object.
 
void SetConnectionName2 (const occ::handle< TCollection_HAsciiString > &theName)
 Sets 2nd connection name of the object.
 
void SetPresentation (const TopoDS_Shape &thePresentation, const occ::handle< TCollection_HAsciiString > &thePresentationName)
 Set graphical presentation for the object.
 
TopoDS_Shape GetPresentation () const
 Returns graphical presentation of the object.
 
occ::handle< TCollection_HAsciiStringGetPresentationName () const
 Returns graphical presentation of the object.
 
bool HasDescriptions () const
 Returns true, if the object has descriptions.
 
int NbDescriptions () const
 Returns number of descriptions.
 
occ::handle< TCollection_HAsciiStringGetDescription (const int theNumber) const
 Returns description with the given number.
 
occ::handle< TCollection_HAsciiStringGetDescriptionName (const int theNumber) const
 Returns name of description with the given number.
 
void RemoveDescription (const int theNumber)
 Remove description with the given number.
 
void AddDescription (const occ::handle< TCollection_HAsciiString > theDescription, const occ::handle< TCollection_HAsciiString > theName)
 Add new description.
 
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_Transientoperator= (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_TransientThis () 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.
 

Static Public Member Functions

static bool IsDimensionalLocation (const XCAFDimTolObjects_DimensionType theType)
 Returns true if the dimension type is a location.
 
static bool IsDimensionalSize (const XCAFDimTolObjects_DimensionType theType)
 Returns true if the dimension type is a size.
 
- Static Public Member Functions inherited from Standard_Transient
static constexpr const charget_type_name ()
 Returns a type descriptor about this object.
 
static const opencascade::handle< Standard_Type > & get_type_descriptor ()
 Returns type descriptor of Standard_Transient class.
 

Additional Inherited Members

- Public Types inherited from Standard_Transient
typedef void base_type
 Returns a type descriptor about this object.
 

Detailed Description

Access object to store dimension data.

Constructor & Destructor Documentation

◆ XCAFDimTolObjects_DimensionObject() [1/2]

XCAFDimTolObjects_DimensionObject::XCAFDimTolObjects_DimensionObject ( )

◆ XCAFDimTolObjects_DimensionObject() [2/2]

XCAFDimTolObjects_DimensionObject::XCAFDimTolObjects_DimensionObject ( const occ::handle< XCAFDimTolObjects_DimensionObject > & theObj)

Member Function Documentation

◆ AddDescription()

void XCAFDimTolObjects_DimensionObject::AddDescription ( const occ::handle< TCollection_HAsciiString > theDescription,
const occ::handle< TCollection_HAsciiString > theName )
inline

Add new description.

◆ AddModifier()

void XCAFDimTolObjects_DimensionObject::AddModifier ( const XCAFDimTolObjects_DimensionModif theModifier)

Adds a modifier to the dimension sequence of modifiers.

◆ DumpJson()

void XCAFDimTolObjects_DimensionObject::DumpJson ( Standard_OStream & theOStream,
int theDepth = -1 ) const

Dumps the content of me into the stream.

◆ GetAngularQualifier()

XCAFDimTolObjects_AngularQualifier XCAFDimTolObjects_DimensionObject::GetAngularQualifier ( ) const

Returns angular qualifier.

◆ GetClassOfTolerance()

bool XCAFDimTolObjects_DimensionObject::GetClassOfTolerance ( bool & theHole,
XCAFDimTolObjects_DimensionFormVariance & theFormVariance,
XCAFDimTolObjects_DimensionGrade & theGrade ) const

Retrieves tolerance class parameters of the dimension. Returns True if the dimension is toleranced.

◆ GetConnectionAxis()

gp_Ax2 XCAFDimTolObjects_DimensionObject::GetConnectionAxis ( ) const
inline

Get connection point as a coordinate system (for dimensional_size), Get connection point as a coordinate system for the first shape (for dimensional_location).

◆ GetConnectionAxis2()

gp_Ax2 XCAFDimTolObjects_DimensionObject::GetConnectionAxis2 ( ) const
inline

◆ GetConnectionName()

occ::handle< TCollection_HAsciiString > XCAFDimTolObjects_DimensionObject::GetConnectionName ( ) const
inline

Returns connection name of the object.

◆ GetConnectionName2()

occ::handle< TCollection_HAsciiString > XCAFDimTolObjects_DimensionObject::GetConnectionName2 ( ) const
inline

Returns 2nd connection name of the object.

◆ GetDescription()

occ::handle< TCollection_HAsciiString > XCAFDimTolObjects_DimensionObject::GetDescription ( const int theNumber) const
inline

Returns description with the given number.

◆ GetDescriptionName()

occ::handle< TCollection_HAsciiString > XCAFDimTolObjects_DimensionObject::GetDescriptionName ( const int theNumber) const
inline

Returns name of description with the given number.

◆ GetDirection()

bool XCAFDimTolObjects_DimensionObject::GetDirection ( gp_Dir & theDir) const

Returns the orientation of the dimension in annotation plane.

◆ GetLowerBound()

double XCAFDimTolObjects_DimensionObject::GetLowerBound ( ) const

Returns the lower bound of the range dimension, otherwise - zero.

◆ GetLowerTolValue()

double XCAFDimTolObjects_DimensionObject::GetLowerTolValue ( ) const

Returns the upper value of the toleranced dimension, otherwise - zero.

◆ GetModifiers()

NCollection_Sequence< XCAFDimTolObjects_DimensionModif > XCAFDimTolObjects_DimensionObject::GetModifiers ( ) const

Returns a sequence of modifiers of the dimension.

◆ GetNbOfDecimalPlaces()

void XCAFDimTolObjects_DimensionObject::GetNbOfDecimalPlaces ( int & theL,
int & theR ) const

Returns the number of places to the left and right of the decimal point respectively.

◆ GetPath()

TopoDS_Edge XCAFDimTolObjects_DimensionObject::GetPath ( ) const

Returns a 'curve' along which the dimension is measured.

◆ GetPlane()

const gp_Ax2 & XCAFDimTolObjects_DimensionObject::GetPlane ( ) const
inline

Returns annotation plane.

◆ GetPoint()

gp_Pnt XCAFDimTolObjects_DimensionObject::GetPoint ( ) const
inline

Get connection point (for dimensional_size), Get connection point for the first shape (for dimensional_location).

◆ GetPoint2()

gp_Pnt XCAFDimTolObjects_DimensionObject::GetPoint2 ( ) const
inline

◆ GetPointTextAttach()

const gp_Pnt & XCAFDimTolObjects_DimensionObject::GetPointTextAttach ( ) const
inline

Returns position of the dimension text.

◆ GetPresentation()

TopoDS_Shape XCAFDimTolObjects_DimensionObject::GetPresentation ( ) const
inline

Returns graphical presentation of the object.

◆ GetPresentationName()

occ::handle< TCollection_HAsciiString > XCAFDimTolObjects_DimensionObject::GetPresentationName ( ) const
inline

Returns graphical presentation of the object.

◆ GetQualifier()

XCAFDimTolObjects_DimensionQualifier XCAFDimTolObjects_DimensionObject::GetQualifier ( ) const

Returns dimension qualifier.

◆ GetSemanticName()

occ::handle< TCollection_HAsciiString > XCAFDimTolObjects_DimensionObject::GetSemanticName ( ) const

Returns semantic name.

◆ GetType()

XCAFDimTolObjects_DimensionType XCAFDimTolObjects_DimensionObject::GetType ( ) const

Returns dimension type.

◆ GetUpperBound()

double XCAFDimTolObjects_DimensionObject::GetUpperBound ( ) const

Returns the upper bound of the range dimension, otherwise - zero.

◆ GetUpperTolValue()

double XCAFDimTolObjects_DimensionObject::GetUpperTolValue ( ) const

Returns the lower value of the toleranced dimension, otherwise - zero.

◆ GetValue()

double XCAFDimTolObjects_DimensionObject::GetValue ( ) const

Returns the main dimension value. It will be the middle value in case of range dimension.

◆ GetValues()

occ::handle< NCollection_HArray1< double > > XCAFDimTolObjects_DimensionObject::GetValues ( ) const

Returns raw array of dimension values.

◆ HasAngularQualifier()

bool XCAFDimTolObjects_DimensionObject::HasAngularQualifier ( ) const

Returns True if the object has angular qualifier.

◆ HasDescriptions()

bool XCAFDimTolObjects_DimensionObject::HasDescriptions ( ) const
inline

Returns true, if the object has descriptions.

◆ HasPlane()

bool XCAFDimTolObjects_DimensionObject::HasPlane ( ) const
inline

Returns True if the object has annotation plane.

◆ HasPoint()

bool XCAFDimTolObjects_DimensionObject::HasPoint ( ) const
inline

Returns true, if connection point exists (for dimensional_size), if connection point for the first shape exists (for dimensional_location).

◆ HasPoint2()

bool XCAFDimTolObjects_DimensionObject::HasPoint2 ( ) const
inline

◆ HasQualifier()

bool XCAFDimTolObjects_DimensionObject::HasQualifier ( ) const

Returns True if the object has dimension qualifier.

◆ HasTextPoint()

bool XCAFDimTolObjects_DimensionObject::HasTextPoint ( ) const
inline

Returns True if the position of dimension text is specified.

◆ IsDimensionalLocation()

static bool XCAFDimTolObjects_DimensionObject::IsDimensionalLocation ( const XCAFDimTolObjects_DimensionType theType)
static

Returns true if the dimension type is a location.

◆ IsDimensionalSize()

static bool XCAFDimTolObjects_DimensionObject::IsDimensionalSize ( const XCAFDimTolObjects_DimensionType theType)
static

Returns true if the dimension type is a size.

◆ IsDimWithClassOfTolerance()

bool XCAFDimTolObjects_DimensionObject::IsDimWithClassOfTolerance ( ) const

Returns True if the form variance was set to not XCAFDimTolObjects_DimensionFormVariance_None value.

◆ IsDimWithPlusMinusTolerance()

bool XCAFDimTolObjects_DimensionObject::IsDimWithPlusMinusTolerance ( ) const

Returns True if the dimension is of +/- tolerance kind. Dimension is of +/- tolerance kind if its values array contains three elements defining the main value and the lower/upper tolerances.

◆ IsDimWithRange()

bool XCAFDimTolObjects_DimensionObject::IsDimWithRange ( ) const

Returns True if the dimension is of range kind. Dimension is of range kind if its values array contains two elements defining lower and upper bounds.

◆ IsPointConnection()

bool XCAFDimTolObjects_DimensionObject::IsPointConnection ( ) const
inline

Returns true, if the connection is a point not coordinate system (for dimensional_size), if connection point for the first shape exists (for dimensional_location).

◆ IsPointConnection2()

bool XCAFDimTolObjects_DimensionObject::IsPointConnection2 ( ) const
inline

◆ NbDescriptions()

int XCAFDimTolObjects_DimensionObject::NbDescriptions ( ) const
inline

Returns number of descriptions.

◆ RemoveDescription()

void XCAFDimTolObjects_DimensionObject::RemoveDescription ( const int theNumber)

Remove description with the given number.

◆ SetAngularQualifier()

void XCAFDimTolObjects_DimensionObject::SetAngularQualifier ( const XCAFDimTolObjects_AngularQualifier theAngularQualifier)

Sets angular qualifier as small, large or equal.

◆ SetClassOfTolerance()

void XCAFDimTolObjects_DimensionObject::SetClassOfTolerance ( const bool theHole,
const XCAFDimTolObjects_DimensionFormVariance theFormVariance,
const XCAFDimTolObjects_DimensionGrade theGrade )

Sets tolerance class of the dimension.

Parameters
theHole- True if the tolerance applies to an internal feature
theFormVariance- represents the fundamental deviation or "position letter" of the ISO 286 limits-and-fits tolerance classification.
theGrade- represents the quality or the accuracy grade of a tolerance.

◆ SetConnectionAxis()

void XCAFDimTolObjects_DimensionObject::SetConnectionAxis ( const gp_Ax2 & theAxis)
inline

Set connection point as a coordinate system (for dimensional_size), Set connection point as a coordinate system for the first shape (for dimensional_location).

◆ SetConnectionAxis2()

void XCAFDimTolObjects_DimensionObject::SetConnectionAxis2 ( const gp_Ax2 & theAxis)
inline

◆ SetConnectionName()

void XCAFDimTolObjects_DimensionObject::SetConnectionName ( const occ::handle< TCollection_HAsciiString > & theName)
inline

Sets connection name of the object.

◆ SetConnectionName2()

void XCAFDimTolObjects_DimensionObject::SetConnectionName2 ( const occ::handle< TCollection_HAsciiString > & theName)
inline

Sets 2nd connection name of the object.

◆ SetDirection()

bool XCAFDimTolObjects_DimensionObject::SetDirection ( const gp_Dir & theDir)

Sets an orientation of the dimension in annotation plane.

◆ SetLowerBound()

void XCAFDimTolObjects_DimensionObject::SetLowerBound ( const double theLowerBound)

Sets the lower bound of the range dimension, otherwise resets it to an empty range with the specified lower bound.

◆ SetLowerTolValue()

bool XCAFDimTolObjects_DimensionObject::SetLowerTolValue ( const double theLowerTolValue)

Sets the lower value of the toleranced dimension, otherwise resets a simple dimension to toleranced one with the specified lower/upper tolerances. Returns False in case of range dimension.

◆ SetModifiers()

void XCAFDimTolObjects_DimensionObject::SetModifiers ( const NCollection_Sequence< XCAFDimTolObjects_DimensionModif > & theModifiers)

Sets new sequence of dimension modifiers.

◆ SetNbOfDecimalPlaces()

void XCAFDimTolObjects_DimensionObject::SetNbOfDecimalPlaces ( const int theL,
const int theR )

Sets the number of places to the left and right of the decimal point respectively.

◆ SetPath()

void XCAFDimTolObjects_DimensionObject::SetPath ( const TopoDS_Edge & thePath)

Sets a 'curve' along which the dimension is measured.

◆ SetPlane()

void XCAFDimTolObjects_DimensionObject::SetPlane ( const gp_Ax2 & thePlane)
inline

Sets annotation plane.

◆ SetPoint()

void XCAFDimTolObjects_DimensionObject::SetPoint ( const gp_Pnt & thePnt)
inline

Set connection point (for dimensional_size), Set connection point for the first shape (for dimensional_location).

◆ SetPoint2()

void XCAFDimTolObjects_DimensionObject::SetPoint2 ( const gp_Pnt & thePnt)
inline

◆ SetPointTextAttach()

void XCAFDimTolObjects_DimensionObject::SetPointTextAttach ( const gp_Pnt & thePntText)
inline

Sets position of the dimension text.

◆ SetPresentation()

void XCAFDimTolObjects_DimensionObject::SetPresentation ( const TopoDS_Shape & thePresentation,
const occ::handle< TCollection_HAsciiString > & thePresentationName )
inline

Set graphical presentation for the object.

◆ SetQualifier()

void XCAFDimTolObjects_DimensionObject::SetQualifier ( const XCAFDimTolObjects_DimensionQualifier theQualifier)

Sets dimension qualifier as min., max. or average.

◆ SetSemanticName()

void XCAFDimTolObjects_DimensionObject::SetSemanticName ( const occ::handle< TCollection_HAsciiString > & theName)

Sets semantic name.

◆ SetType()

void XCAFDimTolObjects_DimensionObject::SetType ( const XCAFDimTolObjects_DimensionType theTyupe)

Sets a specific type of dimension.

◆ SetUpperBound()

void XCAFDimTolObjects_DimensionObject::SetUpperBound ( const double theUpperBound)

Sets the upper bound of the range dimension, otherwise resets it to an empty range with the specified upper bound.

◆ SetUpperTolValue()

bool XCAFDimTolObjects_DimensionObject::SetUpperTolValue ( const double theUperTolValue)

Sets the upper value of the toleranced dimension, otherwise resets a simple dimension to toleranced one with the specified lower/upper tolerances. Returns False in case of range dimension.

◆ SetValue()

void XCAFDimTolObjects_DimensionObject::SetValue ( const double theValue)

Sets the main dimension value. Overwrites previous values.

◆ SetValues()

void XCAFDimTolObjects_DimensionObject::SetValues ( const occ::handle< NCollection_HArray1< double > > & theValue)

Replaces current raw array of dimension values with theValues array.


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