Open CASCADE Technology 7.8.2.dev
|
#include <IntPatch_TheIWalking.hxx>
Public Member Functions | |
IntPatch_TheIWalking (const Standard_Real Epsilon, const Standard_Real Deflection, const Standard_Real Step, const Standard_Boolean theToFillHoles=Standard_False) | |
Deflection is the maximum deflection admitted between two consecutive points on a resulting polyline. Step is the maximum increment admitted between two consecutive points (in 2d space). Epsilon is the tolerance beyond which 2 points are confused. theToFillHoles is the flag defining whether possible holes between resulting curves are filled or not in case of IntPatch walking theToFillHoles is False. | |
void | SetTolerance (const Standard_Real Epsilon, const Standard_Real Deflection, const Standard_Real Step) |
Deflection is the maximum deflection admitted between two consecutive points on a resulting polyline. Step is the maximum increment admitted between two consecutive points (in 2d space). Epsilon is the tolerance beyond which 2 points are confused. | |
void | Perform (const IntSurf_SequenceOfPathPoint &Pnts1, const IntSurf_SequenceOfInteriorPoint &Pnts2, IntPatch_TheSurfFunction &Func, const Handle< Adaptor3d_Surface > &S, const Standard_Boolean Reversed=Standard_False) |
Searches a set of polylines starting on a point of Pnts1 or Pnts2. Each point on a resulting polyline verifies F(u,v)=0. | |
void | Perform (const IntSurf_SequenceOfPathPoint &Pnts1, IntPatch_TheSurfFunction &Func, const Handle< Adaptor3d_Surface > &S, const Standard_Boolean Reversed=Standard_False) |
Searches a set of polylines starting on a point of Pnts1. Each point on a resulting polyline verifies F(u,v)=0. | |
Standard_Boolean | IsDone () const |
Returns true if the calculus was successful. | |
Standard_Integer | NbLines () const |
Returns the number of resulting polylines. An exception is raised if IsDone returns False. | |
const Handle< IntPatch_TheIWLineOfTheIWalking > & | Value (const Standard_Integer Index) const |
Returns the polyline of range Index. An exception is raised if IsDone is False. An exception is raised if Index<=0 or Index>NbLines. | |
Standard_Integer | NbSinglePnts () const |
Returns the number of points belonging to Pnts on which no line starts or ends. An exception is raised if IsDone returns False. | |
const IntSurf_PathPoint & | SinglePnt (const Standard_Integer Index) const |
Returns the point of range Index . An exception is raised if IsDone returns False. An exception is raised if Index<=0 or Index > NbSinglePnts. | |
IntPatch_TheIWalking::IntPatch_TheIWalking | ( | const Standard_Real | Epsilon, |
const Standard_Real | Deflection, | ||
const Standard_Real | Step, | ||
const Standard_Boolean | theToFillHoles = Standard_False ) |
Deflection is the maximum deflection admitted between two consecutive points on a resulting polyline. Step is the maximum increment admitted between two consecutive points (in 2d space). Epsilon is the tolerance beyond which 2 points are confused. theToFillHoles is the flag defining whether possible holes between resulting curves are filled or not in case of IntPatch walking theToFillHoles is False.
|
protected |
|
protected |
|
protected |
Clears up internal containers.
|
protected |
|
protected |
|
protected |
Standard_Boolean IntPatch_TheIWalking::IsDone | ( | ) | const |
Returns true if the calculus was successful.
|
protected |
|
protected |
Returns TRUE if thePOn2S is in one of existing lines.
|
protected |
|
protected |
Standard_Integer IntPatch_TheIWalking::NbLines | ( | ) | const |
Returns the number of resulting polylines. An exception is raised if IsDone returns False.
Standard_Integer IntPatch_TheIWalking::NbSinglePnts | ( | ) | const |
Returns the number of points belonging to Pnts on which no line starts or ends. An exception is raised if IsDone returns False.
|
protected |
void IntPatch_TheIWalking::Perform | ( | const IntSurf_SequenceOfPathPoint & | Pnts1, |
const IntSurf_SequenceOfInteriorPoint & | Pnts2, | ||
IntPatch_TheSurfFunction & | Func, | ||
const Handle< Adaptor3d_Surface > & | S, | ||
const Standard_Boolean | Reversed = Standard_False ) |
Searches a set of polylines starting on a point of Pnts1 or Pnts2. Each point on a resulting polyline verifies F(u,v)=0.
void IntPatch_TheIWalking::Perform | ( | const IntSurf_SequenceOfPathPoint & | Pnts1, |
IntPatch_TheSurfFunction & | Func, | ||
const Handle< Adaptor3d_Surface > & | S, | ||
const Standard_Boolean | Reversed = Standard_False ) |
Searches a set of polylines starting on a point of Pnts1. Each point on a resulting polyline verifies F(u,v)=0.
|
protected |
void IntPatch_TheIWalking::SetTolerance | ( | const Standard_Real | Epsilon, |
const Standard_Real | Deflection, | ||
const Standard_Real | Step ) |
Deflection is the maximum deflection admitted between two consecutive points on a resulting polyline. Step is the maximum increment admitted between two consecutive points (in 2d space). Epsilon is the tolerance beyond which 2 points are confused.
const IntSurf_PathPoint & IntPatch_TheIWalking::SinglePnt | ( | const Standard_Integer | Index | ) | const |
Returns the point of range Index . An exception is raised if IsDone returns False. An exception is raised if Index<=0 or Index > NbSinglePnts.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
const Handle< IntPatch_TheIWLineOfTheIWalking > & IntPatch_TheIWalking::Value | ( | const Standard_Integer | Index | ) | const |
Returns the polyline of range Index. An exception is raised if IsDone is False. An exception is raised if Index<=0 or Index>NbLines.