Open CASCADE Technology
7.0.0
|
#include <GeomInt_TheMultiLineOfWLApprox.hxx>
Public Member Functions | |
GeomInt_TheMultiLineOfWLApprox (const Handle< IntPatch_WLine > &line, const Standard_Address PtrSvSurfaces, const Standard_Integer NbP3d, const Standard_Integer NbP2d, const Standard_Real xo, const Standard_Real yo, const Standard_Real zo, const Standard_Real u1o, const Standard_Real v1o, const Standard_Real u2o, const Standard_Real v2o, const Standard_Boolean P2DOnFirst, const Standard_Integer IndMin=0, const Standard_Integer 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) More... | |
GeomInt_TheMultiLineOfWLApprox (const Handle< IntPatch_WLine > &line, const Standard_Integer NbP3d, const Standard_Integer NbP2d, const Standard_Real xo, const Standard_Real yo, const Standard_Real zo, const Standard_Real u1o, const Standard_Real v1o, const Standard_Real u2o, const Standard_Real v2o, const Standard_Boolean P2DOnFirst, const Standard_Integer IndMin=0, const Standard_Integer IndMax=0) | |
No Extra points will be added on the current line. More... | |
Standard_Integer | FirstPoint () const |
Standard_Integer | LastPoint () const |
Standard_Integer | NbP2d () const |
Returns the number of 2d points of a TheLine. More... | |
Standard_Integer | NbP3d () const |
Returns the number of 3d points of a TheLine. More... | |
Approx_Status | WhatStatus () const |
void | Value (const Standard_Integer MPointIndex, TColgp_Array1OfPnt &tabPt) const |
Returns the 3d points of the multipoint <MPointIndex> when only 3d points exist. More... | |
void | Value (const Standard_Integer MPointIndex, TColgp_Array1OfPnt2d &tabPt2d) const |
Returns the 2d points of the multipoint <MPointIndex> when only 2d points exist. More... | |
void | Value (const Standard_Integer MPointIndex, TColgp_Array1OfPnt &tabPt, TColgp_Array1OfPnt2d &tabPt2d) const |
returns the 3d and 2d points of the multipoint <MPointIndex>. More... | |
Standard_Boolean | Tangency (const Standard_Integer MPointIndex, TColgp_Array1OfVec &tabV) const |
Returns the 3d tangency points of the multipoint <MPointIndex> only when 3d points exist. More... | |
Standard_Boolean | Tangency (const Standard_Integer MPointIndex, TColgp_Array1OfVec2d &tabV2d) const |
Returns the 2d tangency points of the multipoint <MPointIndex> only when 2d points exist. More... | |
Standard_Boolean | Tangency (const Standard_Integer MPointIndex, TColgp_Array1OfVec &tabV, TColgp_Array1OfVec2d &tabV2d) const |
Returns the 3d and 2d points of the multipoint <MPointIndex>. More... | |
GeomInt_TheMultiLineOfWLApprox | MakeMLBetween (const Standard_Integer Low, const Standard_Integer High, const Standard_Integer NbPointsToInsert) const |
void | Dump () const |
Dump of the current multi-line. More... | |
Protected Member Functions | |
GeomInt_TheMultiLineOfWLApprox | operator= (GeomInt_TheMultiLineOfWLApprox &) |
GeomInt_TheMultiLineOfWLApprox::GeomInt_TheMultiLineOfWLApprox | ( | const Handle< IntPatch_WLine > & | line, |
const Standard_Address | PtrSvSurfaces, | ||
const Standard_Integer | NbP3d, | ||
const Standard_Integer | NbP2d, | ||
const Standard_Real | xo, | ||
const Standard_Real | yo, | ||
const Standard_Real | zo, | ||
const Standard_Real | u1o, | ||
const Standard_Real | v1o, | ||
const Standard_Real | u2o, | ||
const Standard_Real | v2o, | ||
const Standard_Boolean | P2DOnFirst, | ||
const Standard_Integer | IndMin = 0 , |
||
const Standard_Integer | 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 Handle< IntPatch_WLine > & | line, |
const Standard_Integer | NbP3d, | ||
const Standard_Integer | NbP2d, | ||
const Standard_Real | xo, | ||
const Standard_Real | yo, | ||
const Standard_Real | zo, | ||
const Standard_Real | u1o, | ||
const Standard_Real | v1o, | ||
const Standard_Real | u2o, | ||
const Standard_Real | v2o, | ||
const Standard_Boolean | P2DOnFirst, | ||
const Standard_Integer | IndMin = 0 , |
||
const Standard_Integer | IndMax = 0 |
||
) |
No Extra points will be added on the current line.
void GeomInt_TheMultiLineOfWLApprox::Dump | ( | ) | const |
Dump of the current multi-line.
Standard_Integer GeomInt_TheMultiLineOfWLApprox::FirstPoint | ( | ) | const |
Standard_Integer GeomInt_TheMultiLineOfWLApprox::LastPoint | ( | ) | const |
GeomInt_TheMultiLineOfWLApprox GeomInt_TheMultiLineOfWLApprox::MakeMLBetween | ( | const Standard_Integer | Low, |
const Standard_Integer | High, | ||
const Standard_Integer | NbPointsToInsert | ||
) | const |
Standard_Integer GeomInt_TheMultiLineOfWLApprox::NbP2d | ( | ) | const |
Returns the number of 2d points of a TheLine.
Standard_Integer GeomInt_TheMultiLineOfWLApprox::NbP3d | ( | ) | const |
Returns the number of 3d points of a TheLine.
|
protected |
Standard_Boolean GeomInt_TheMultiLineOfWLApprox::Tangency | ( | const Standard_Integer | MPointIndex, |
TColgp_Array1OfVec & | tabV | ||
) | const |
Returns the 3d tangency points of the multipoint <MPointIndex> only when 3d points exist.
Standard_Boolean GeomInt_TheMultiLineOfWLApprox::Tangency | ( | const Standard_Integer | MPointIndex, |
TColgp_Array1OfVec2d & | tabV2d | ||
) | const |
Returns the 2d tangency points of the multipoint <MPointIndex> only when 2d points exist.
Standard_Boolean GeomInt_TheMultiLineOfWLApprox::Tangency | ( | const Standard_Integer | MPointIndex, |
TColgp_Array1OfVec & | tabV, | ||
TColgp_Array1OfVec2d & | tabV2d | ||
) | const |
Returns the 3d and 2d points of the multipoint <MPointIndex>.
void GeomInt_TheMultiLineOfWLApprox::Value | ( | const Standard_Integer | MPointIndex, |
TColgp_Array1OfPnt & | tabPt | ||
) | const |
Returns the 3d points of the multipoint <MPointIndex> when only 3d points exist.
void GeomInt_TheMultiLineOfWLApprox::Value | ( | const Standard_Integer | MPointIndex, |
TColgp_Array1OfPnt2d & | tabPt2d | ||
) | const |
Returns the 2d points of the multipoint <MPointIndex> when only 2d points exist.
void GeomInt_TheMultiLineOfWLApprox::Value | ( | const Standard_Integer | MPointIndex, |
TColgp_Array1OfPnt & | tabPt, | ||
TColgp_Array1OfPnt2d & | tabPt2d | ||
) | const |
returns the 3d and 2d points of the multipoint <MPointIndex>.
Approx_Status GeomInt_TheMultiLineOfWLApprox::WhatStatus | ( | ) | const |