Open CASCADE Technology  6.9.1
Static Public Member Functions
AppDef_MyLineTool Class Reference

example of MultiLine tool corresponding to the tools of the packages AppParCurves and Approx. For Approx, the tool will not addd points if the algorithms want some. More...

#include <AppDef_MyLineTool.hxx>

Static Public Member Functions

static Standard_Integer FirstPoint (const AppDef_MultiLine &ML)
 Returns the first index of multipoints of the MultiLine. More...
 
static Standard_Integer LastPoint (const AppDef_MultiLine &ML)
 Returns the last index of multipoints of the MultiLine. More...
 
static Standard_Integer NbP2d (const AppDef_MultiLine &ML)
 Returns the number of 2d points of a MultiLine. More...
 
static Standard_Integer NbP3d (const AppDef_MultiLine &ML)
 Returns the number of 3d points of a MultiLine. More...
 
static void Value (const AppDef_MultiLine &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 AppDef_MultiLine &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 AppDef_MultiLine &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 AppDef_MultiLine &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 AppDef_MultiLine &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 AppDef_MultiLine &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 AppDef_MultiLine &ML, const Standard_Integer MPointIndex, TColgp_Array1OfVec &tabV)
 returns the 3d curvatures of the multipoint <MPointIndex> when only 3d points exist. More...
 
static Standard_Boolean Curvature (const AppDef_MultiLine &ML, const Standard_Integer MPointIndex, TColgp_Array1OfVec2d &tabV2d)
 returns the 2d curvatures of the multipoint <MPointIndex> only when 2d points exist. More...
 
static Standard_Boolean Curvature (const AppDef_MultiLine &ML, const Standard_Integer MPointIndex, TColgp_Array1OfVec &tabV, TColgp_Array1OfVec2d &tabV2d)
 returns the 3d and 2d curvatures of the multipoint <MPointIndex>. More...
 
static Approx_Status WhatStatus (const AppDef_MultiLine &ML, const Standard_Integer I1, const Standard_Integer I2)
 returns NoPointsAdded More...
 
static AppDef_MultiLineMakeMLBetween (const AppDef_MultiLine &ML, const Standard_Integer I1, const Standard_Integer I2, const Standard_Integer NbPMin)
 Is never called in the algorithms. Nothing is done. More...
 

Detailed Description

example of MultiLine tool corresponding to the tools of the packages AppParCurves and Approx. For Approx, the tool will not addd points if the algorithms want some.

Member Function Documentation

static Standard_Boolean AppDef_MyLineTool::Curvature ( const AppDef_MultiLine ML,
const Standard_Integer  MPointIndex,
TColgp_Array1OfVec tabV 
)
static

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

static Standard_Boolean AppDef_MyLineTool::Curvature ( const AppDef_MultiLine ML,
const Standard_Integer  MPointIndex,
TColgp_Array1OfVec2d tabV2d 
)
static

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

static Standard_Boolean AppDef_MyLineTool::Curvature ( const AppDef_MultiLine ML,
const Standard_Integer  MPointIndex,
TColgp_Array1OfVec tabV,
TColgp_Array1OfVec2d tabV2d 
)
static

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

static Standard_Integer AppDef_MyLineTool::FirstPoint ( const AppDef_MultiLine ML)
static

Returns the first index of multipoints of the MultiLine.

static Standard_Integer AppDef_MyLineTool::LastPoint ( const AppDef_MultiLine ML)
static

Returns the last index of multipoints of the MultiLine.

static AppDef_MultiLine& AppDef_MyLineTool::MakeMLBetween ( const AppDef_MultiLine ML,
const Standard_Integer  I1,
const Standard_Integer  I2,
const Standard_Integer  NbPMin 
)
static

Is never called in the algorithms. Nothing is done.

static Standard_Integer AppDef_MyLineTool::NbP2d ( const AppDef_MultiLine ML)
static

Returns the number of 2d points of a MultiLine.

static Standard_Integer AppDef_MyLineTool::NbP3d ( const AppDef_MultiLine ML)
static

Returns the number of 3d points of a MultiLine.

static Standard_Boolean AppDef_MyLineTool::Tangency ( const AppDef_MultiLine ML,
const Standard_Integer  MPointIndex,
TColgp_Array1OfVec tabV 
)
static

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

static Standard_Boolean AppDef_MyLineTool::Tangency ( const AppDef_MultiLine ML,
const Standard_Integer  MPointIndex,
TColgp_Array1OfVec2d tabV2d 
)
static

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

static Standard_Boolean AppDef_MyLineTool::Tangency ( const AppDef_MultiLine ML,
const Standard_Integer  MPointIndex,
TColgp_Array1OfVec tabV,
TColgp_Array1OfVec2d tabV2d 
)
static

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

static void AppDef_MyLineTool::Value ( const AppDef_MultiLine ML,
const Standard_Integer  MPointIndex,
TColgp_Array1OfPnt tabPt 
)
static

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

static void AppDef_MyLineTool::Value ( const AppDef_MultiLine ML,
const Standard_Integer  MPointIndex,
TColgp_Array1OfPnt2d tabPt2d 
)
static

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

static void AppDef_MyLineTool::Value ( const AppDef_MultiLine ML,
const Standard_Integer  MPointIndex,
TColgp_Array1OfPnt tabPt,
TColgp_Array1OfPnt2d tabPt2d 
)
static

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

static Approx_Status AppDef_MyLineTool::WhatStatus ( const AppDef_MultiLine ML,
const Standard_Integer  I1,
const Standard_Integer  I2 
)
static

returns NoPointsAdded


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