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

Root class for the points representations. Contains a location and a parameter. More...

#include <BRep_PointRepresentation.hxx>

Inheritance diagram for BRep_PointRepresentation:
Inheritance graph
[legend]

Public Member Functions

virtual bool IsPointOnCurve () const
 A point on a 3d curve.
 
virtual bool IsPointOnCurveOnSurface () const
 A point on a 2d curve on a surface.
 
virtual bool IsPointOnSurface () const
 A point on a surface.
 
virtual bool IsPointOnCurve (const occ::handle< Geom_Curve > &C, const TopLoc_Location &L) const
 A point on the curve .
 
virtual bool IsPointOnCurveOnSurface (const occ::handle< Geom2d_Curve > &PC, const occ::handle< Geom_Surface > &S, const TopLoc_Location &L) const
 A point on the 2d curve <PC> on the surface .
 
virtual bool IsPointOnSurface (const occ::handle< Geom_Surface > &S, const TopLoc_Location &L) const
 A point on the surface .
 
const TopLoc_LocationLocation () const
 
void Location (const TopLoc_Location &L)
 
double Parameter () const
 
void Parameter (const double P)
 
virtual double Parameter2 () const
 
virtual void Parameter2 (const double P)
 
virtual const occ::handle< Geom_Curve > & Curve () const
 
virtual void Curve (const occ::handle< Geom_Curve > &C)
 
virtual const occ::handle< Geom2d_Curve > & PCurve () const
 
virtual void PCurve (const occ::handle< Geom2d_Curve > &C)
 
virtual const occ::handle< Geom_Surface > & Surface () const
 
virtual void Surface (const occ::handle< Geom_Surface > &S)
 
virtual 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.
 

Protected Member Functions

 BRep_PointRepresentation (const double P, const TopLoc_Location &L)
 

Additional Inherited Members

- Public Types inherited from Standard_Transient
typedef void base_type
 Returns a type descriptor about this object.
 
- 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.
 

Detailed Description

Root class for the points representations. Contains a location and a parameter.

Constructor & Destructor Documentation

◆ BRep_PointRepresentation()

BRep_PointRepresentation::BRep_PointRepresentation ( const double P,
const TopLoc_Location & L )
protected

Member Function Documentation

◆ Curve() [1/2]

virtual const occ::handle< Geom_Curve > & BRep_PointRepresentation::Curve ( ) const
virtual

Reimplemented in BRep_PointOnCurve.

◆ Curve() [2/2]

virtual void BRep_PointRepresentation::Curve ( const occ::handle< Geom_Curve > & C)
virtual

Reimplemented in BRep_PointOnCurve.

◆ DumpJson()

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

Dumps the content of me into the stream.

Reimplemented in BRep_PointOnCurve, BRep_PointOnCurveOnSurface, and BRep_PointsOnSurface.

◆ IsPointOnCurve() [1/2]

virtual bool BRep_PointRepresentation::IsPointOnCurve ( ) const
virtual

A point on a 3d curve.

Reimplemented in BRep_PointOnCurve.

◆ IsPointOnCurve() [2/2]

virtual bool BRep_PointRepresentation::IsPointOnCurve ( const occ::handle< Geom_Curve > & C,
const TopLoc_Location & L ) const
virtual

A point on the curve .

Reimplemented in BRep_PointOnCurve.

◆ IsPointOnCurveOnSurface() [1/2]

virtual bool BRep_PointRepresentation::IsPointOnCurveOnSurface ( ) const
virtual

A point on a 2d curve on a surface.

Reimplemented in BRep_PointOnCurveOnSurface.

◆ IsPointOnCurveOnSurface() [2/2]

virtual bool BRep_PointRepresentation::IsPointOnCurveOnSurface ( const occ::handle< Geom2d_Curve > & PC,
const occ::handle< Geom_Surface > & S,
const TopLoc_Location & L ) const
virtual

A point on the 2d curve <PC> on the surface .

Reimplemented in BRep_PointOnCurveOnSurface.

◆ IsPointOnSurface() [1/2]

virtual bool BRep_PointRepresentation::IsPointOnSurface ( ) const
virtual

A point on a surface.

Reimplemented in BRep_PointOnSurface.

◆ IsPointOnSurface() [2/2]

virtual bool BRep_PointRepresentation::IsPointOnSurface ( const occ::handle< Geom_Surface > & S,
const TopLoc_Location & L ) const
virtual

A point on the surface .

Reimplemented in BRep_PointOnSurface.

◆ Location() [1/2]

const TopLoc_Location & BRep_PointRepresentation::Location ( ) const

◆ Location() [2/2]

void BRep_PointRepresentation::Location ( const TopLoc_Location & L)

◆ Parameter() [1/2]

double BRep_PointRepresentation::Parameter ( ) const

◆ Parameter() [2/2]

void BRep_PointRepresentation::Parameter ( const double P)

◆ Parameter2() [1/2]

virtual double BRep_PointRepresentation::Parameter2 ( ) const
virtual

Reimplemented in BRep_PointOnSurface.

◆ Parameter2() [2/2]

virtual void BRep_PointRepresentation::Parameter2 ( const double P)
virtual

Reimplemented in BRep_PointOnSurface.

◆ PCurve() [1/2]

virtual const occ::handle< Geom2d_Curve > & BRep_PointRepresentation::PCurve ( ) const
virtual

Reimplemented in BRep_PointOnCurveOnSurface.

◆ PCurve() [2/2]

virtual void BRep_PointRepresentation::PCurve ( const occ::handle< Geom2d_Curve > & C)
virtual

Reimplemented in BRep_PointOnCurveOnSurface.

◆ Surface() [1/2]

virtual const occ::handle< Geom_Surface > & BRep_PointRepresentation::Surface ( ) const
virtual

Reimplemented in BRep_PointsOnSurface.

◆ Surface() [2/2]

virtual void BRep_PointRepresentation::Surface ( const occ::handle< Geom_Surface > & S)
virtual

Reimplemented in BRep_PointsOnSurface.


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