Open CASCADE Technology 6.6.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.

void Initialize (const TopoDS_Edge &E2)
void Perform (const TopoDS_Edge &E1)
 An exception is raised if the fields have not been initialized.

Standard_Boolean IsDone () const
 True if the distances are found.

Standard_Integer NbExt () const
 Returns the number of extremum distances.

Standard_Boolean IsParallel () const
 Returns True if E1 and E2 are parallel.

Standard_Real SquareDistance (const Standard_Integer N) const
 Returns the value of the <N>th extremum square distance.

Standard_Real ParameterOnE1 (const Standard_Integer N) const
 Returns the parameter on the first edge of the <N>th extremum distance.

gp_Pnt PointOnE1 (const Standard_Integer N) const
 Returns the Point of the <N>th extremum distance on the edge E1.

Standard_Real ParameterOnE2 (const Standard_Integer N) const
 Returns the parameter on the second edge of the <N>th extremum distance.

gp_Pnt PointOnE2 (const Standard_Integer N) const
 Returns the Point of the <N>th extremum distance on the edge E2.

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.


Constructor & Destructor Documentation

BRepExtrema_ExtCC::BRepExtrema_ExtCC ( ) [inline]
BRepExtrema_ExtCC::BRepExtrema_ExtCC ( const TopoDS_Edge E1,
const TopoDS_Edge E2 
)

Member Function Documentation

void BRepExtrema_ExtCC::Initialize ( const TopoDS_Edge E2)
Standard_Boolean BRepExtrema_ExtCC::IsDone ( ) const [inline]
Standard_Boolean BRepExtrema_ExtCC::IsParallel ( ) const [inline]
Standard_Integer BRepExtrema_ExtCC::NbExt ( ) const [inline]
Standard_Real BRepExtrema_ExtCC::ParameterOnE1 ( const Standard_Integer  N) const
Standard_Real BRepExtrema_ExtCC::ParameterOnE2 ( const Standard_Integer  N) const
void BRepExtrema_ExtCC::Perform ( const TopoDS_Edge E1)
gp_Pnt BRepExtrema_ExtCC::PointOnE1 ( const Standard_Integer  N) const
gp_Pnt BRepExtrema_ExtCC::PointOnE2 ( const Standard_Integer  N) const
Standard_Real BRepExtrema_ExtCC::SquareDistance ( const Standard_Integer  N) const [inline]
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

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines