OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKTopAlgo
BRepExtrema


BRepExtrema_ExtCC Class Reference

#include <BRepExtrema_ExtCC.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT BRepExtrema_ExtCC ()
Standard_EXPORT BRepExtrema_ExtCC (const TopoDS_Edge &E1, const TopoDS_Edge &E2)
 It calculates all the distances.
.
Standard_EXPORT void Initialize (const TopoDS_Edge &E2)
Standard_EXPORT void Perform (const TopoDS_Edge &E1)
 An exception is raised if the fields have not been
initialized.
.
Standard_EXPORT Standard_Boolean IsDone () const
 True if the distances are found.
.
Standard_EXPORT Standard_Integer NbExt () const
 Returns the number of extremum distances.
.
Standard_EXPORT Standard_Boolean IsParallel () const
 Returns True if E1 and E2 are parallel.
.
Standard_EXPORT Standard_Real Value (const Standard_Integer N) const
 Returns the value of the <n>th extremum distance.
.
Standard_EXPORT Standard_Real ParameterOnE1 (const Standard_Integer N) const
 Returns the parameter on the first edge of the <n>th
extremum distance.
.
Standard_EXPORT gp_Pnt PointOnE1 (const Standard_Integer N) const
 Returns the Point of the <n>th extremum distance
on the edge E1.
.
Standard_EXPORT Standard_Real ParameterOnE2 (const Standard_Integer N) const
 Returns the parameter on the second edge of the <n>th
extremum distance.
.
Standard_EXPORT gp_Pnt PointOnE2 (const Standard_Integer N) const
 Returns the Point of the <n>th extremum distance
on the edge E2.
.
Standard_EXPORT void TrimmedDistances (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 the distance between the point on E1
of parameter FirstParameter and the point of
parameter FirstParameter on E2.


Private Attributes

Extrema_ExtCC myExtrem
Handle_BRepAdaptor_HCurve myHC


Constructor & Destructor Documentation

Standard_EXPORT BRepExtrema_ExtCC::BRepExtrema_ExtCC  ) 
 

Standard_EXPORT BRepExtrema_ExtCC::BRepExtrema_ExtCC const TopoDS_Edge &  E1,
const TopoDS_Edge &  E2
 


Member Function Documentation

Standard_EXPORT void BRepExtrema_ExtCC::Initialize const TopoDS_Edge &  E2  ) 
 

Standard_EXPORT Standard_Boolean BRepExtrema_ExtCC::IsDone  )  const
 

Standard_EXPORT Standard_Boolean BRepExtrema_ExtCC::IsParallel  )  const
 

Standard_EXPORT Standard_Integer BRepExtrema_ExtCC::NbExt  )  const
 

void BRepExtrema_ExtCC::operator delete void *  anAddress  )  [inline]
 

void* BRepExtrema_ExtCC::operator new size_t  size  )  [inline]
 

void* BRepExtrema_ExtCC::operator new size_t  ,
void *  anAddress
[inline]
 

Standard_EXPORT Standard_Real BRepExtrema_ExtCC::ParameterOnE1 const Standard_Integer  N  )  const
 

Standard_EXPORT Standard_Real BRepExtrema_ExtCC::ParameterOnE2 const Standard_Integer  N  )  const
 

Standard_EXPORT void BRepExtrema_ExtCC::Perform const TopoDS_Edge &  E1  ) 
 

Standard_EXPORT gp_Pnt BRepExtrema_ExtCC::PointOnE1 const Standard_Integer  N  )  const
 

Standard_EXPORT gp_Pnt BRepExtrema_ExtCC::PointOnE2 const Standard_Integer  N  )  const
 

Standard_EXPORT void BRepExtrema_ExtCC::TrimmedDistances 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
 

Standard_EXPORT Standard_Real BRepExtrema_ExtCC::Value const Standard_Integer  N  )  const
 


Field Documentation

Extrema_ExtCC BRepExtrema_ExtCC::myExtrem [private]
 

Handle_BRepAdaptor_HCurve BRepExtrema_ExtCC::myHC [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:41:10 2008 for OpenCASCADE by  doxygen 1.4.1