Open CASCADE Technology 6.6.0
|
This class compares vertices on an edge.
A vertex V1 is inside a vertex V2 if V1 is on the
part of the curve defined by V2.
If V2 is FORWARD V1 must be after V2 on the curve.
If V2 is REVERSED V1 must be before V2 on the curve.
If V2 is INTERNAL V1 is always inside.
If V2 is EXTERNAL V1 is never inside.
#include <TopOpeBRepBuild_PaveClassifier.hxx>
Public Member Functions | |
TopOpeBRepBuild_PaveClassifier (const TopoDS_Shape &E) | |
Create a Pave classifier to compare vertices on edge <E>. | |
TopAbs_State | Compare (const Handle< TopOpeBRepBuild_Loop > &L1, const Handle< TopOpeBRepBuild_Loop > &L2) |
Returns state of vertex <L1> compared with <L2>. | |
void | SetFirstParameter (const Standard_Real P) |
void | ClosedVertices (const Standard_Boolean B) |
Static Public Member Functions | |
static Standard_Real | AdjustCase (const Standard_Real p1, const TopAbs_Orientation o, const Standard_Real first, const Standard_Real period, const Standard_Real tol, Standard_Integer &cas) |
TopOpeBRepBuild_PaveClassifier::TopOpeBRepBuild_PaveClassifier | ( | const TopoDS_Shape & | E | ) |
static Standard_Real TopOpeBRepBuild_PaveClassifier::AdjustCase | ( | const Standard_Real | p1, |
const TopAbs_Orientation | o, | ||
const Standard_Real | first, | ||
const Standard_Real | period, | ||
const Standard_Real | tol, | ||
Standard_Integer & | cas | ||
) | [static] |
void TopOpeBRepBuild_PaveClassifier::ClosedVertices | ( | const Standard_Boolean | B | ) |
TopAbs_State TopOpeBRepBuild_PaveClassifier::Compare | ( | const Handle< TopOpeBRepBuild_Loop > & | L1, |
const Handle< TopOpeBRepBuild_Loop > & | L2 | ||
) | [virtual] |
Implements TopOpeBRepBuild_LoopClassifier.
void TopOpeBRepBuild_PaveClassifier::SetFirstParameter | ( | const Standard_Real | P | ) |