Open CASCADE Technology  7.7.0
Static Public Member Functions
BRepApprox_TheMultiLineToolOfApprox Class Reference

#include <BRepApprox_TheMultiLineToolOfApprox.hxx>

Static Public Member Functions

static Standard_Integer FirstPoint (const BRepApprox_TheMultiLineOfApprox &ML)
 Returns the number of multipoints of the TheMultiLine. More...
 
static Standard_Integer LastPoint (const BRepApprox_TheMultiLineOfApprox &ML)
 Returns the number of multipoints of the TheMultiLine. More...
 
static Standard_Integer NbP2d (const BRepApprox_TheMultiLineOfApprox &ML)
 Returns the number of 2d points of a TheMultiLine. More...
 
static Standard_Integer NbP3d (const BRepApprox_TheMultiLineOfApprox &ML)
 Returns the number of 3d points of a TheMultiLine. More...
 
static void Value (const BRepApprox_TheMultiLineOfApprox &ML, const Standard_Integer MPointIndex, TColgp_Array1OfPnt &tabPt)
 returns the 3d points of the multipoint <MPointIndex> when only 3d points exist. More...
 
static void Value (const BRepApprox_TheMultiLineOfApprox &ML, const Standard_Integer MPointIndex, TColgp_Array1OfPnt2d &tabPt2d)
 returns the 2d points of the multipoint <MPointIndex> when only 2d points exist. More...
 
static void Value (const BRepApprox_TheMultiLineOfApprox &ML, const Standard_Integer MPointIndex, TColgp_Array1OfPnt &tabPt, TColgp_Array1OfPnt2d &tabPt2d)
 returns the 3d and 2d points of the multipoint <MPointIndex>. More...
 
static Standard_Boolean Tangency (const BRepApprox_TheMultiLineOfApprox &ML, const Standard_Integer MPointIndex, TColgp_Array1OfVec &tabV)
 returns the 3d points of the multipoint <MPointIndex> when only 3d points exist. More...
 
static Standard_Boolean Tangency (const BRepApprox_TheMultiLineOfApprox &ML, const Standard_Integer MPointIndex, TColgp_Array1OfVec2d &tabV2d)
 returns the 2d tangency points of the multipoint <MPointIndex> only when 2d points exist. More...
 
static Standard_Boolean Tangency (const BRepApprox_TheMultiLineOfApprox &ML, const Standard_Integer MPointIndex, TColgp_Array1OfVec &tabV, TColgp_Array1OfVec2d &tabV2d)
 returns the 3d and 2d points of the multipoint <MPointIndex>. More...
 
static Standard_Boolean Curvature (const BRepApprox_TheMultiLineOfApprox &ML, const Standard_Integer MPointIndex, TColgp_Array1OfVec &tabV)
 returns the 3d curvature of the multipoint <MPointIndex> when only 3d points exist. More...
 
static Standard_Boolean Curvature (const BRepApprox_TheMultiLineOfApprox &ML, const Standard_Integer MPointIndex, TColgp_Array1OfVec2d &tabV2d)
 returns the 2d curvature points of the multipoint <MPointIndex> only when 2d points exist. More...
 
static Standard_Boolean Curvature (const BRepApprox_TheMultiLineOfApprox &ML, const Standard_Integer MPointIndex, TColgp_Array1OfVec &tabV, TColgp_Array1OfVec2d &tabV2d)
 returns the 3d and 2d curvature of the multipoint <MPointIndex>. More...
 
static BRepApprox_TheMultiLineOfApprox MakeMLBetween (const BRepApprox_TheMultiLineOfApprox &ML, const Standard_Integer I1, const Standard_Integer I2, const Standard_Integer NbPMin)
 Is called if WhatStatus returned "PointsAdded". More...
 
static Standard_Boolean MakeMLOneMorePoint (const BRepApprox_TheMultiLineOfApprox &ML, const Standard_Integer I1, const Standard_Integer I2, const Standard_Integer indbad, BRepApprox_TheMultiLineOfApprox &OtherLine)
 Is called when the Bezier curve contains a loop. More...
 
static Approx_Status WhatStatus (const BRepApprox_TheMultiLineOfApprox &ML, const Standard_Integer I1, const Standard_Integer I2)
 
static void Dump (const BRepApprox_TheMultiLineOfApprox &ML)
 Dump of the current multi-line. More...
 

Member Function Documentation

◆ Curvature() [1/3]

static Standard_Boolean BRepApprox_TheMultiLineToolOfApprox::Curvature ( const BRepApprox_TheMultiLineOfApprox ML,
const Standard_Integer  MPointIndex,
TColgp_Array1OfVec tabV 
)
static

returns the 3d curvature of the multipoint <MPointIndex> when only 3d points exist.

◆ Curvature() [2/3]

static Standard_Boolean BRepApprox_TheMultiLineToolOfApprox::Curvature ( const BRepApprox_TheMultiLineOfApprox ML,
const Standard_Integer  MPointIndex,
TColgp_Array1OfVec2d tabV2d 
)
static

returns the 2d curvature points of the multipoint <MPointIndex> only when 2d points exist.

◆ Curvature() [3/3]

static Standard_Boolean BRepApprox_TheMultiLineToolOfApprox::Curvature ( const BRepApprox_TheMultiLineOfApprox ML,
const Standard_Integer  MPointIndex,
TColgp_Array1OfVec tabV,
TColgp_Array1OfVec2d tabV2d 
)
static

returns the 3d and 2d curvature of the multipoint <MPointIndex>.

◆ Dump()

static void BRepApprox_TheMultiLineToolOfApprox::Dump ( const BRepApprox_TheMultiLineOfApprox ML)
static

Dump of the current multi-line.

◆ FirstPoint()

static Standard_Integer BRepApprox_TheMultiLineToolOfApprox::FirstPoint ( const BRepApprox_TheMultiLineOfApprox ML)
static

Returns the number of multipoints of the TheMultiLine.

◆ LastPoint()

static Standard_Integer BRepApprox_TheMultiLineToolOfApprox::LastPoint ( const BRepApprox_TheMultiLineOfApprox ML)
static

Returns the number of multipoints of the TheMultiLine.

◆ MakeMLBetween()

static BRepApprox_TheMultiLineOfApprox BRepApprox_TheMultiLineToolOfApprox::MakeMLBetween ( const BRepApprox_TheMultiLineOfApprox ML,
const Standard_Integer  I1,
const Standard_Integer  I2,
const Standard_Integer  NbPMin 
)
static

Is called if WhatStatus returned "PointsAdded".

◆ MakeMLOneMorePoint()

static Standard_Boolean BRepApprox_TheMultiLineToolOfApprox::MakeMLOneMorePoint ( const BRepApprox_TheMultiLineOfApprox ML,
const Standard_Integer  I1,
const Standard_Integer  I2,
const Standard_Integer  indbad,
BRepApprox_TheMultiLineOfApprox OtherLine 
)
static

Is called when the Bezier curve contains a loop.

◆ NbP2d()

static Standard_Integer BRepApprox_TheMultiLineToolOfApprox::NbP2d ( const BRepApprox_TheMultiLineOfApprox ML)
static

Returns the number of 2d points of a TheMultiLine.

◆ NbP3d()

static Standard_Integer BRepApprox_TheMultiLineToolOfApprox::NbP3d ( const BRepApprox_TheMultiLineOfApprox ML)
static

Returns the number of 3d points of a TheMultiLine.

◆ Tangency() [1/3]

static Standard_Boolean BRepApprox_TheMultiLineToolOfApprox::Tangency ( const BRepApprox_TheMultiLineOfApprox ML,
const Standard_Integer  MPointIndex,
TColgp_Array1OfVec tabV 
)
static

returns the 3d points of the multipoint <MPointIndex> when only 3d points exist.

◆ Tangency() [2/3]

static Standard_Boolean BRepApprox_TheMultiLineToolOfApprox::Tangency ( const BRepApprox_TheMultiLineOfApprox ML,
const Standard_Integer  MPointIndex,
TColgp_Array1OfVec2d tabV2d 
)
static

returns the 2d tangency points of the multipoint <MPointIndex> only when 2d points exist.

◆ Tangency() [3/3]

static Standard_Boolean BRepApprox_TheMultiLineToolOfApprox::Tangency ( const BRepApprox_TheMultiLineOfApprox ML,
const Standard_Integer  MPointIndex,
TColgp_Array1OfVec tabV,
TColgp_Array1OfVec2d tabV2d 
)
static

returns the 3d and 2d points of the multipoint <MPointIndex>.

◆ Value() [1/3]

static void BRepApprox_TheMultiLineToolOfApprox::Value ( const BRepApprox_TheMultiLineOfApprox ML,
const Standard_Integer  MPointIndex,
TColgp_Array1OfPnt tabPt 
)
static

returns the 3d points of the multipoint <MPointIndex> when only 3d points exist.

◆ Value() [2/3]

static void BRepApprox_TheMultiLineToolOfApprox::Value ( const BRepApprox_TheMultiLineOfApprox ML,
const Standard_Integer  MPointIndex,
TColgp_Array1OfPnt2d tabPt2d 
)
static

returns the 2d points of the multipoint <MPointIndex> when only 2d points exist.

◆ Value() [3/3]

static void BRepApprox_TheMultiLineToolOfApprox::Value ( const BRepApprox_TheMultiLineOfApprox ML,
const Standard_Integer  MPointIndex,
TColgp_Array1OfPnt tabPt,
TColgp_Array1OfPnt2d tabPt2d 
)
static

returns the 3d and 2d points of the multipoint <MPointIndex>.

◆ WhatStatus()

static Approx_Status BRepApprox_TheMultiLineToolOfApprox::WhatStatus ( const BRepApprox_TheMultiLineOfApprox ML,
const Standard_Integer  I1,
const Standard_Integer  I2 
)
static

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