Open CASCADE Technology  7.2.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. More...
 
virtual Standard_Boolean IsPointOnCurveOnSurface () const
 A point on a 2d curve on a surface. More...
 
virtual Standard_Boolean IsPointOnSurface () const
 A point on a surface. More...
 
virtual Standard_Boolean IsPointOnCurve (const Handle< Geom_Curve > &C, const TopLoc_Location &L) const
 A point on the curve . More...
 
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 <S>. More...
 
virtual Standard_Boolean IsPointOnSurface (const Handle< Geom_Surface > &S, const TopLoc_Location &L) const
 A point on the surface <S>. More...
 
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)
 
- Public Member Functions inherited from Standard_Transient
 Standard_Transient ()
 Empty constructor. More...
 
 Standard_Transient (const Standard_Transient &)
 Copy constructor – does nothing. More...
 
Standard_Transientoperator= (const Standard_Transient &)
 Assignment operator, needed to avoid copying reference counter. More...
 
virtual ~Standard_Transient ()
 Destructor must be virtual. More...
 
virtual void Delete () const
 Memory deallocator for transient classes. More...
 
virtual const opencascade::handle< Standard_Type > & DynamicType () const
 Returns a type descriptor about this object. More...
 
Standard_Boolean IsInstance (const opencascade::handle< Standard_Type > &theType) const
 Returns a true value if this is an instance of Type. More...
 
Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName. More...
 
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. More...
 
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. More...
 
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. More...
 
Standard_Integer GetRefCount () const
 Get the reference counter of this object. More...
 
void IncrementRefCounter () const
 Increments the reference counter of this object. More...
 
Standard_Integer DecrementRefCounter () const
 Decrements the reference counter of this object; returns the decremented value. More...
 

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. More...
 
- Static Public Member Functions inherited from Standard_Transient
static const char * get_type_name ()
 Returns a type descriptor about this object. More...
 
static const opencascade::handle< Standard_Type > & get_type_descriptor ()
 Returns type descriptor of Standard_Transient class. More...
 

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.

◆ 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 <S>.

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 <S>.

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: