Open CASCADE Technology  7.7.0
Public Member Functions
BRepExtrema_ExtCC Class Reference

#include <BRepExtrema_ExtCC.hxx>

Public Member Functions

 BRepExtrema_ExtCC ()
 
 BRepExtrema_ExtCC (const TopoDS_Edge &E1, const TopoDS_Edge &E2)
 It calculates all the distances.
More...
 
void Initialize (const TopoDS_Edge &E2)
 
void Perform (const TopoDS_Edge &E1)
 An exception is raised if the fields have not been initialized.
More...
 
Standard_Boolean IsDone () const
 True if the distances are found.
More...
 
Standard_Integer NbExt () const
 Returns the number of extremum distances.
More...
 
Standard_Boolean IsParallel () const
 Returns True if E1 and E2 are parallel.
More...
 
Standard_Real SquareDistance (const Standard_Integer N) const
 Returns the value of the <N>th extremum square distance.
More...
 
Standard_Real ParameterOnE1 (const Standard_Integer N) const
 Returns the parameter on the first edge of the <N>th extremum distance.
More...
 
gp_Pnt PointOnE1 (const Standard_Integer N) const
 Returns the Point of the <N>th extremum distance on the edge E1.
More...
 
Standard_Real ParameterOnE2 (const Standard_Integer N) const
 Returns the parameter on the second edge of the <N>th extremum distance.
More...
 
gp_Pnt PointOnE2 (const Standard_Integer N) const
 Returns the Point of the <N>th extremum distance on the edge E2.
More...
 
void TrimmedSquareDistances (Standard_Real &dist11, Standard_Real &distP12, Standard_Real &distP21, Standard_Real &distP22, gp_Pnt &P11, gp_Pnt &P12, gp_Pnt &P21, gp_Pnt &P22) const
 if the edges is a trimmed curve,
dist11 is a square distance between the point on E1
of parameter FirstParameter and the point of
parameter FirstParameter on E2.
More...
 

Constructor & Destructor Documentation

◆ BRepExtrema_ExtCC() [1/2]

BRepExtrema_ExtCC::BRepExtrema_ExtCC ( )
inline

◆ BRepExtrema_ExtCC() [2/2]

BRepExtrema_ExtCC::BRepExtrema_ExtCC ( const TopoDS_Edge E1,
const TopoDS_Edge E2 
)

It calculates all the distances.

Member Function Documentation

◆ Initialize()

void BRepExtrema_ExtCC::Initialize ( const TopoDS_Edge E2)

◆ IsDone()

Standard_Boolean BRepExtrema_ExtCC::IsDone ( ) const
inline

True if the distances are found.

◆ IsParallel()

Standard_Boolean BRepExtrema_ExtCC::IsParallel ( ) const
inline

Returns True if E1 and E2 are parallel.

◆ NbExt()

Standard_Integer BRepExtrema_ExtCC::NbExt ( ) const
inline

Returns the number of extremum distances.

◆ ParameterOnE1()

Standard_Real BRepExtrema_ExtCC::ParameterOnE1 ( const Standard_Integer  N) const

Returns the parameter on the first edge of the <N>th extremum distance.

◆ ParameterOnE2()

Standard_Real BRepExtrema_ExtCC::ParameterOnE2 ( const Standard_Integer  N) const

Returns the parameter on the second edge of the <N>th extremum distance.

◆ Perform()

void BRepExtrema_ExtCC::Perform ( const TopoDS_Edge E1)

An exception is raised if the fields have not been initialized.

◆ PointOnE1()

gp_Pnt BRepExtrema_ExtCC::PointOnE1 ( const Standard_Integer  N) const

Returns the Point of the <N>th extremum distance on the edge E1.

◆ PointOnE2()

gp_Pnt BRepExtrema_ExtCC::PointOnE2 ( const Standard_Integer  N) const

Returns the Point of the <N>th extremum distance on the edge E2.

◆ SquareDistance()

Standard_Real BRepExtrema_ExtCC::SquareDistance ( const Standard_Integer  N) const
inline

Returns the value of the <N>th extremum square distance.

◆ TrimmedSquareDistances()

void BRepExtrema_ExtCC::TrimmedSquareDistances ( Standard_Real dist11,
Standard_Real distP12,
Standard_Real distP21,
Standard_Real distP22,
gp_Pnt P11,
gp_Pnt P12,
gp_Pnt P21,
gp_Pnt P22 
) const

if the edges is a trimmed curve,
dist11 is a square distance between the point on E1
of parameter FirstParameter and the point of
parameter FirstParameter on E2.


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