Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
BRepExtrema_ExtCC Class Reference

#include <BRepExtrema_ExtCC.hxx>

Public Member Functions

DEFINE_STANDARD_ALLOC 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


Member Function Documentation

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: