Open CASCADE Technology  6.9.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::BRepExtrema_ExtCC ( )
inline
BRepExtrema_ExtCC::BRepExtrema_ExtCC ( const TopoDS_Edge E1,
const TopoDS_Edge E2 
)

It calculates all the distances.

Member Function Documentation

void BRepExtrema_ExtCC::Initialize ( const TopoDS_Edge E2)
Standard_Boolean BRepExtrema_ExtCC::IsDone ( ) const
inline

True if the distances are found.

Standard_Boolean BRepExtrema_ExtCC::IsParallel ( ) const
inline

Returns True if E1 and E2 are parallel.

Standard_Integer BRepExtrema_ExtCC::NbExt ( ) const
inline

Returns the number of extremum distances.

Standard_Real BRepExtrema_ExtCC::ParameterOnE1 ( const Standard_Integer  N) const

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

Standard_Real BRepExtrema_ExtCC::ParameterOnE2 ( const Standard_Integer  N) const

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

void BRepExtrema_ExtCC::Perform ( const TopoDS_Edge E1)

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

gp_Pnt BRepExtrema_ExtCC::PointOnE1 ( const Standard_Integer  N) const

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

gp_Pnt BRepExtrema_ExtCC::PointOnE2 ( const Standard_Integer  N) const

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

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

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

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: