Open CASCADE Technology 7.8.0
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 Standard_Boolean IsPointOnCurve () const
 A point on a 3d curve.
 
virtual Standard_Boolean IsPointOnCurveOnSurface () const
 A point on a 2d curve on a surface.
 
virtual Standard_Boolean IsPointOnSurface () const
 A point on a surface.
 
virtual Standard_Boolean IsPointOnCurve (const Handle< Geom_Curve > &C, const TopLoc_Location &L) const
 A point on the curve .
 
virtual Standard_Boolean IsPointOnCurveOnSurface (const Handle< Geom2d_Curve > &PC, const Handle< Geom_Surface > &S, const TopLoc_Location &L) const
 A point on the 2d curve <PC> on the surface .
 
virtual Standard_Boolean IsPointOnSurface (const Handle< Geom_Surface > &S, const TopLoc_Location &L) const
 A point on the surface .
 
const TopLoc_LocationLocation () const
 
void Location (const TopLoc_Location &L)
 
Standard_Real Parameter () const
 
void Parameter (const Standard_Real P)
 
virtual Standard_Real Parameter2 () const
 
virtual void Parameter2 (const Standard_Real P)
 
virtual const Handle< Geom_Curve > & Curve () const
 
virtual void Curve (const Handle< Geom_Curve > &C)
 
virtual const Handle< Geom2d_Curve > & PCurve () const
 
virtual void PCurve (const Handle< Geom2d_Curve > &C)
 
virtual const Handle< Geom_Surface > & Surface () const
 
virtual void Surface (const Handle< Geom_Surface > &S)
 
virtual void DumpJson (Standard_OStream &theOStream, Standard_Integer 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 ()
 Destructor must be virtual.
 
virtual const opencascade::handle< Standard_Type > & DynamicType () const
 Returns a type descriptor about this object.
 
Standard_Boolean IsInstance (const opencascade::handle< Standard_Type > &theType) const
 Returns a true value if this is an instance of Type.
 
Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName.
 
Standard_Boolean 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.
 
Standard_Boolean IsKind (const Standard_CString 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.
 
Standard_Integer GetRefCount () const noexcept
 Get the reference counter of this object.
 
void IncrementRefCounter () noexcept
 Increments the reference counter of this object.
 
Standard_Integer DecrementRefCounter () noexcept
 Decrements the reference counter of this object; returns the decremented value.
 
virtual void Delete () const
 Memory deallocator for transient classes.
 

Protected Member Functions

 BRep_PointRepresentation (const Standard_Real 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 Standard_Real  P,
const TopLoc_Location L 
)
protected

Member Function Documentation

◆ Curve() [1/2]

virtual const Handle< Geom_Curve > & BRep_PointRepresentation::Curve ( ) const
virtual

Reimplemented in BRep_PointOnCurve.

◆ Curve() [2/2]

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

Reimplemented in BRep_PointOnCurve.

◆ DumpJson()

virtual void BRep_PointRepresentation::DumpJson ( Standard_OStream theOStream,
Standard_Integer  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 Standard_Boolean BRep_PointRepresentation::IsPointOnCurve ( ) const
virtual

A point on a 3d curve.

Reimplemented in BRep_PointOnCurve.

◆ IsPointOnCurve() [2/2]

virtual Standard_Boolean BRep_PointRepresentation::IsPointOnCurve ( const Handle< Geom_Curve > &  C,
const TopLoc_Location L 
) const
virtual

A point on the curve .

Reimplemented in BRep_PointOnCurve.

◆ IsPointOnCurveOnSurface() [1/2]

virtual Standard_Boolean BRep_PointRepresentation::IsPointOnCurveOnSurface ( ) const
virtual

A point on a 2d curve on a surface.

Reimplemented in BRep_PointOnCurveOnSurface.

◆ IsPointOnCurveOnSurface() [2/2]

virtual Standard_Boolean BRep_PointRepresentation::IsPointOnCurveOnSurface ( const Handle< Geom2d_Curve > &  PC,
const 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 Standard_Boolean BRep_PointRepresentation::IsPointOnSurface ( ) const
virtual

A point on a surface.

Reimplemented in BRep_PointOnSurface.

◆ IsPointOnSurface() [2/2]

virtual Standard_Boolean BRep_PointRepresentation::IsPointOnSurface ( const 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]

Standard_Real BRep_PointRepresentation::Parameter ( ) const

◆ Parameter() [2/2]

void BRep_PointRepresentation::Parameter ( const Standard_Real  P)

◆ Parameter2() [1/2]

virtual Standard_Real BRep_PointRepresentation::Parameter2 ( ) const
virtual

Reimplemented in BRep_PointOnSurface.

◆ Parameter2() [2/2]

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

Reimplemented in BRep_PointOnSurface.

◆ PCurve() [1/2]

virtual const Handle< Geom2d_Curve > & BRep_PointRepresentation::PCurve ( ) const
virtual

Reimplemented in BRep_PointOnCurveOnSurface.

◆ PCurve() [2/2]

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

Reimplemented in BRep_PointOnCurveOnSurface.

◆ Surface() [1/2]

virtual const Handle< Geom_Surface > & BRep_PointRepresentation::Surface ( ) const
virtual

Reimplemented in BRep_PointsOnSurface.

◆ Surface() [2/2]

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

Reimplemented in BRep_PointsOnSurface.


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