Open CASCADE Technology
7.5.0
|
*** Class2d : Low level algorithm for 2d classification this class was moved from package BRepTopAdaptor More...
#include <CSLib_Class2d.hxx>
Public Member Functions | |
CSLib_Class2d (const TColgp_Array1OfPnt2d &thePnts2d, const Standard_Real theTolU, const Standard_Real theTolV, const Standard_Real theUMin, const Standard_Real theVMin, const Standard_Real theUMax, const Standard_Real theVMax) | |
Constructs the 2D-polygon. thePnts2d is the set of the vertices (closed polygon will always be created inside of this constructor; consequently, there is no point in repeating first and last point in thePnts2d). theTolu and theTolv are tolerances. theUmin, theVmin, theUmax, theVmax are UV-bounds of the polygon. More... | |
CSLib_Class2d (const TColgp_SequenceOfPnt2d &thePnts2d, const Standard_Real theTolU, const Standard_Real theTolV, const Standard_Real theUMin, const Standard_Real theVMin, const Standard_Real theUMax, const Standard_Real theVMax) | |
Constructs the 2D-polygon. thePnts2d is the set of the vertices (closed polygon will always be created inside of this constructor; consequently, there is no point in repeating first and last point in thePnts2d). theTolu and theTolv are tolerances. theUmin, theVmin, theUmax, theVmax are UV-bounds of the polygon. More... | |
Standard_Integer | SiDans (const gp_Pnt2d &P) const |
Standard_Integer | SiDans_OnMode (const gp_Pnt2d &P, const Standard_Real Tol) const |
Standard_Integer | InternalSiDans (const Standard_Real X, const Standard_Real Y) const |
Standard_Integer | InternalSiDansOuOn (const Standard_Real X, const Standard_Real Y) const |
*** Class2d : Low level algorithm for 2d classification this class was moved from package BRepTopAdaptor
CSLib_Class2d::CSLib_Class2d | ( | const TColgp_Array1OfPnt2d & | thePnts2d, |
const Standard_Real | theTolU, | ||
const Standard_Real | theTolV, | ||
const Standard_Real | theUMin, | ||
const Standard_Real | theVMin, | ||
const Standard_Real | theUMax, | ||
const Standard_Real | theVMax | ||
) |
Constructs the 2D-polygon. thePnts2d is the set of the vertices (closed polygon will always be created inside of this constructor; consequently, there is no point in repeating first and last point in thePnts2d). theTolu and theTolv are tolerances. theUmin, theVmin, theUmax, theVmax are UV-bounds of the polygon.
CSLib_Class2d::CSLib_Class2d | ( | const TColgp_SequenceOfPnt2d & | thePnts2d, |
const Standard_Real | theTolU, | ||
const Standard_Real | theTolV, | ||
const Standard_Real | theUMin, | ||
const Standard_Real | theVMin, | ||
const Standard_Real | theUMax, | ||
const Standard_Real | theVMax | ||
) |
Constructs the 2D-polygon. thePnts2d is the set of the vertices (closed polygon will always be created inside of this constructor; consequently, there is no point in repeating first and last point in thePnts2d). theTolu and theTolv are tolerances. theUmin, theVmin, theUmax, theVmax are UV-bounds of the polygon.
Standard_Integer CSLib_Class2d::InternalSiDans | ( | const Standard_Real | X, |
const Standard_Real | Y | ||
) | const |
Standard_Integer CSLib_Class2d::InternalSiDansOuOn | ( | const Standard_Real | X, |
const Standard_Real | Y | ||
) | const |
Standard_Integer CSLib_Class2d::SiDans | ( | const gp_Pnt2d & | P | ) | const |
Standard_Integer CSLib_Class2d::SiDans_OnMode | ( | const gp_Pnt2d & | P, |
const Standard_Real | Tol | ||
) | const |