![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
#include <GeomInt_TheMultiLineOfWLApprox.hxx>
Public Member Functions | |
| GeomInt_TheMultiLineOfWLApprox () | |
| GeomInt_TheMultiLineOfWLApprox (const occ::handle< IntPatch_WLine > &line, void *const PtrSvSurfaces, const int NbP3d, const int NbP2d, const bool ApproxU1V1, const bool ApproxU2V2, const double xo, const double yo, const double zo, const double u1o, const double v1o, const double u2o, const double v2o, const bool P2DOnFirst, const int IndMin=0, const int IndMax=0) | |
| The class SvSurfaces is used when the approximation algorithm needs some extra points on the line <line>. A New line is then created which shares the same surfaces and functions. SvSurfaces is a deferred class which allows several implementations of this algorithm with different surfaces (bi-parametric ones, or implicit and biparametric ones) | |
| GeomInt_TheMultiLineOfWLApprox (const occ::handle< IntPatch_WLine > &line, const int NbP3d, const int NbP2d, const bool ApproxU1V1, const bool ApproxU2V2, const double xo, const double yo, const double zo, const double u1o, const double v1o, const double u2o, const double v2o, const bool P2DOnFirst, const int IndMin=0, const int IndMax=0) | |
| No Extra points will be added on the current line. | |
| int | FirstPoint () const |
| int | LastPoint () const |
| int | NbP2d () const |
| Returns the number of 2d points of a TheLine. | |
| int | NbP3d () const |
| Returns the number of 3d points of a TheLine. | |
| Approx_Status | WhatStatus () const |
| void | Value (const int MPointIndex, NCollection_Array1< gp_Pnt > &tabPt) const |
| Returns the 3d points of the multipoint <MPointIndex> when only 3d points exist. | |
| void | Value (const int MPointIndex, NCollection_Array1< gp_Pnt2d > &tabPt2d) const |
| Returns the 2d points of the multipoint <MPointIndex> when only 2d points exist. | |
| void | Value (const int MPointIndex, NCollection_Array1< gp_Pnt > &tabPt, NCollection_Array1< gp_Pnt2d > &tabPt2d) const |
| returns the 3d and 2d points of the multipoint <MPointIndex>. | |
| bool | Tangency (const int MPointIndex, NCollection_Array1< gp_Vec > &tabV) const |
| Returns the 3d tangency points of the multipoint <MPointIndex> only when 3d points exist. | |
| bool | Tangency (const int MPointIndex, NCollection_Array1< gp_Vec2d > &tabV2d) const |
| Returns the 2d tangency points of the multipoint <MPointIndex> only when 2d points exist. | |
| bool | Tangency (const int MPointIndex, NCollection_Array1< gp_Vec > &tabV, NCollection_Array1< gp_Vec2d > &tabV2d) const |
| Returns the 3d and 2d points of the multipoint <MPointIndex>. | |
| GeomInt_TheMultiLineOfWLApprox | MakeMLBetween (const int Low, const int High, const int NbPointsToInsert) const |
| Tries to make a sub-line between <Low> and <High> points of this line by adding <NbPointsToInsert> new points. | |
| bool | MakeMLOneMorePoint (const int Low, const int High, const int indbad, GeomInt_TheMultiLineOfWLApprox &OtherLine) const |
| Tries to make a sub-line between <Low> and <High> points of this line by adding one more point between (indbad-1)-th and indbad-th points. | |
| void | Dump () const |
| Dump of the current multi-line. | |
| GeomInt_TheMultiLineOfWLApprox::GeomInt_TheMultiLineOfWLApprox | ( | ) |
| GeomInt_TheMultiLineOfWLApprox::GeomInt_TheMultiLineOfWLApprox | ( | const occ::handle< IntPatch_WLine > & | line, |
| void *const | PtrSvSurfaces, | ||
| const int | NbP3d, | ||
| const int | NbP2d, | ||
| const bool | ApproxU1V1, | ||
| const bool | ApproxU2V2, | ||
| const double | xo, | ||
| const double | yo, | ||
| const double | zo, | ||
| const double | u1o, | ||
| const double | v1o, | ||
| const double | u2o, | ||
| const double | v2o, | ||
| const bool | P2DOnFirst, | ||
| const int | IndMin = 0, | ||
| const int | IndMax = 0 ) |
The class SvSurfaces is used when the approximation algorithm needs some extra points on the line <line>. A New line is then created which shares the same surfaces and functions. SvSurfaces is a deferred class which allows several implementations of this algorithm with different surfaces (bi-parametric ones, or implicit and biparametric ones)
| GeomInt_TheMultiLineOfWLApprox::GeomInt_TheMultiLineOfWLApprox | ( | const occ::handle< IntPatch_WLine > & | line, |
| const int | NbP3d, | ||
| const int | NbP2d, | ||
| const bool | ApproxU1V1, | ||
| const bool | ApproxU2V2, | ||
| const double | xo, | ||
| const double | yo, | ||
| const double | zo, | ||
| const double | u1o, | ||
| const double | v1o, | ||
| const double | u2o, | ||
| const double | v2o, | ||
| const bool | P2DOnFirst, | ||
| const int | IndMin = 0, | ||
| const int | IndMax = 0 ) |
No Extra points will be added on the current line.
| void GeomInt_TheMultiLineOfWLApprox::Dump | ( | ) | const |
Dump of the current multi-line.
| int GeomInt_TheMultiLineOfWLApprox::FirstPoint | ( | ) | const |
| int GeomInt_TheMultiLineOfWLApprox::LastPoint | ( | ) | const |
| GeomInt_TheMultiLineOfWLApprox GeomInt_TheMultiLineOfWLApprox::MakeMLBetween | ( | const int | Low, |
| const int | High, | ||
| const int | NbPointsToInsert ) const |
Tries to make a sub-line between <Low> and <High> points of this line by adding <NbPointsToInsert> new points.
| bool GeomInt_TheMultiLineOfWLApprox::MakeMLOneMorePoint | ( | const int | Low, |
| const int | High, | ||
| const int | indbad, | ||
| GeomInt_TheMultiLineOfWLApprox & | OtherLine ) const |
Tries to make a sub-line between <Low> and <High> points of this line by adding one more point between (indbad-1)-th and indbad-th points.
| int GeomInt_TheMultiLineOfWLApprox::NbP2d | ( | ) | const |
Returns the number of 2d points of a TheLine.
| int GeomInt_TheMultiLineOfWLApprox::NbP3d | ( | ) | const |
Returns the number of 3d points of a TheLine.
| bool GeomInt_TheMultiLineOfWLApprox::Tangency | ( | const int | MPointIndex, |
| NCollection_Array1< gp_Vec > & | tabV ) const |
Returns the 3d tangency points of the multipoint <MPointIndex> only when 3d points exist.
| bool GeomInt_TheMultiLineOfWLApprox::Tangency | ( | const int | MPointIndex, |
| NCollection_Array1< gp_Vec > & | tabV, | ||
| NCollection_Array1< gp_Vec2d > & | tabV2d ) const |
Returns the 3d and 2d points of the multipoint <MPointIndex>.
| bool GeomInt_TheMultiLineOfWLApprox::Tangency | ( | const int | MPointIndex, |
| NCollection_Array1< gp_Vec2d > & | tabV2d ) const |
Returns the 2d tangency points of the multipoint <MPointIndex> only when 2d points exist.
| void GeomInt_TheMultiLineOfWLApprox::Value | ( | const int | MPointIndex, |
| NCollection_Array1< gp_Pnt > & | tabPt ) const |
Returns the 3d points of the multipoint <MPointIndex> when only 3d points exist.
| void GeomInt_TheMultiLineOfWLApprox::Value | ( | const int | MPointIndex, |
| NCollection_Array1< gp_Pnt > & | tabPt, | ||
| NCollection_Array1< gp_Pnt2d > & | tabPt2d ) const |
returns the 3d and 2d points of the multipoint <MPointIndex>.
| void GeomInt_TheMultiLineOfWLApprox::Value | ( | const int | MPointIndex, |
| NCollection_Array1< gp_Pnt2d > & | tabPt2d ) const |
Returns the 2d points of the multipoint <MPointIndex> when only 2d points exist.
| Approx_Status GeomInt_TheMultiLineOfWLApprox::WhatStatus | ( | ) | const |