Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
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 add points if the algorithms want some. More...

#include <AppDef_MyLineTool.hxx>

Static Public Member Functions

static int FirstPoint (const AppDef_MultiLine &ML)
 Returns the first index of multipoints of the MultiLine.
 
static int LastPoint (const AppDef_MultiLine &ML)
 Returns the last index of multipoints of the MultiLine.
 
static int NbP2d (const AppDef_MultiLine &ML)
 Returns the number of 2d points of a MultiLine.
 
static int NbP3d (const AppDef_MultiLine &ML)
 Returns the number of 3d points of a MultiLine.
 
static void Value (const AppDef_MultiLine &ML, const int MPointIndex, NCollection_Array1< gp_Pnt > &tabPt)
 returns the 3d points of the multipoint <MPointIndex> when only 3d points exist.
 
static void Value (const AppDef_MultiLine &ML, const int MPointIndex, NCollection_Array1< gp_Pnt2d > &tabPt2d)
 returns the 2d points of the multipoint <MPointIndex> when only 2d points exist.
 
static void Value (const AppDef_MultiLine &ML, const int MPointIndex, NCollection_Array1< gp_Pnt > &tabPt, NCollection_Array1< gp_Pnt2d > &tabPt2d)
 returns the 3d and 2d points of the multipoint <MPointIndex>.
 
static bool Tangency (const AppDef_MultiLine &ML, const int MPointIndex, NCollection_Array1< gp_Vec > &tabV)
 returns the 3d points of the multipoint <MPointIndex> when only 3d points exist.
 
static bool Tangency (const AppDef_MultiLine &ML, const int MPointIndex, NCollection_Array1< gp_Vec2d > &tabV2d)
 returns the 2d tangency points of the multipoint <MPointIndex> only when 2d points exist.
 
static bool Tangency (const AppDef_MultiLine &ML, const int MPointIndex, NCollection_Array1< gp_Vec > &tabV, NCollection_Array1< gp_Vec2d > &tabV2d)
 returns the 3d and 2d points of the multipoint <MPointIndex>.
 
static bool Curvature (const AppDef_MultiLine &ML, const int MPointIndex, NCollection_Array1< gp_Vec > &tabV)
 returns the 3d curvatures of the multipoint <MPointIndex> when only 3d points exist.
 
static bool Curvature (const AppDef_MultiLine &ML, const int MPointIndex, NCollection_Array1< gp_Vec2d > &tabV2d)
 returns the 2d curvatures of the multipoint <MPointIndex> only when 2d points exist.
 
static bool Curvature (const AppDef_MultiLine &ML, const int MPointIndex, NCollection_Array1< gp_Vec > &tabV, NCollection_Array1< gp_Vec2d > &tabV2d)
 returns the 3d and 2d curvatures of the multipoint <MPointIndex>.
 
static Approx_Status WhatStatus (const AppDef_MultiLine &ML, const int I1, const int I2)
 returns NoPointsAdded
 
static AppDef_MultiLine MakeMLBetween (const AppDef_MultiLine &ML, const int I1, const int I2, const int NbPMin)
 Is never called in the algorithms. Nothing is done.
 
static bool MakeMLOneMorePoint (const AppDef_MultiLine &ML, const int I1, const int I2, const int indbad, AppDef_MultiLine &OtherLine)
 Is never called in the algorithms. Nothing is done.
 

Detailed Description

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

Member Function Documentation

◆ Curvature() [1/3]

static bool AppDef_MyLineTool::Curvature ( const AppDef_MultiLine & ML,
const int MPointIndex,
NCollection_Array1< gp_Vec > & tabV )
static

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

◆ Curvature() [2/3]

static bool AppDef_MyLineTool::Curvature ( const AppDef_MultiLine & ML,
const int MPointIndex,
NCollection_Array1< gp_Vec > & tabV,
NCollection_Array1< gp_Vec2d > & tabV2d )
static

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

◆ Curvature() [3/3]

static bool AppDef_MyLineTool::Curvature ( const AppDef_MultiLine & ML,
const int MPointIndex,
NCollection_Array1< gp_Vec2d > & tabV2d )
static

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

◆ FirstPoint()

static int AppDef_MyLineTool::FirstPoint ( const AppDef_MultiLine & ML)
static

Returns the first index of multipoints of the MultiLine.

◆ LastPoint()

static int AppDef_MyLineTool::LastPoint ( const AppDef_MultiLine & ML)
static

Returns the last index of multipoints of the MultiLine.

◆ MakeMLBetween()

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

Is never called in the algorithms. Nothing is done.

◆ MakeMLOneMorePoint()

static bool AppDef_MyLineTool::MakeMLOneMorePoint ( const AppDef_MultiLine & ML,
const int I1,
const int I2,
const int indbad,
AppDef_MultiLine & OtherLine )
static

Is never called in the algorithms. Nothing is done.

◆ NbP2d()

static int AppDef_MyLineTool::NbP2d ( const AppDef_MultiLine & ML)
static

Returns the number of 2d points of a MultiLine.

◆ NbP3d()

static int AppDef_MyLineTool::NbP3d ( const AppDef_MultiLine & ML)
static

Returns the number of 3d points of a MultiLine.

◆ Tangency() [1/3]

static bool AppDef_MyLineTool::Tangency ( const AppDef_MultiLine & ML,
const int MPointIndex,
NCollection_Array1< gp_Vec > & tabV )
static

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

◆ Tangency() [2/3]

static bool AppDef_MyLineTool::Tangency ( const AppDef_MultiLine & ML,
const int MPointIndex,
NCollection_Array1< gp_Vec > & tabV,
NCollection_Array1< gp_Vec2d > & tabV2d )
static

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

◆ Tangency() [3/3]

static bool AppDef_MyLineTool::Tangency ( const AppDef_MultiLine & ML,
const int MPointIndex,
NCollection_Array1< gp_Vec2d > & tabV2d )
static

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

◆ Value() [1/3]

static void AppDef_MyLineTool::Value ( const AppDef_MultiLine & ML,
const int MPointIndex,
NCollection_Array1< gp_Pnt > & tabPt )
static

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

◆ Value() [2/3]

static void AppDef_MyLineTool::Value ( const AppDef_MultiLine & ML,
const int MPointIndex,
NCollection_Array1< gp_Pnt > & tabPt,
NCollection_Array1< gp_Pnt2d > & tabPt2d )
static

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

◆ Value() [3/3]

static void AppDef_MyLineTool::Value ( const AppDef_MultiLine & ML,
const int MPointIndex,
NCollection_Array1< gp_Pnt2d > & tabPt2d )
static

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

◆ WhatStatus()

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

returns NoPointsAdded


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