Open CASCADE Technology  7.5.0
Public Member Functions

CSLib_Class2d Class Reference

*** 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
 

Detailed Description

*** Class2d : Low level algorithm for 2d classification this class was moved from package BRepTopAdaptor

Constructor & Destructor Documentation

◆ CSLib_Class2d() [1/2]

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() [2/2]

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.

Member Function Documentation

◆ InternalSiDans()

Standard_Integer CSLib_Class2d::InternalSiDans ( const Standard_Real  X,
const Standard_Real  Y 
) const

◆ InternalSiDansOuOn()

Standard_Integer CSLib_Class2d::InternalSiDansOuOn ( const Standard_Real  X,
const Standard_Real  Y 
) const

◆ SiDans()

Standard_Integer CSLib_Class2d::SiDans ( const gp_Pnt2d P) const

◆ SiDans_OnMode()

Standard_Integer CSLib_Class2d::SiDans_OnMode ( const gp_Pnt2d P,
const Standard_Real  Tol 
) const

The documentation for this class was generated from the following file: