Open CASCADE Technology 7.8.2.dev
GeomLProp_CLProps Class Reference

#include <GeomLProp_CLProps.hxx>

Public Member Functions

 GeomLProp_CLProps (const Handle< Geom_Curve > &C, const Standard_Integer N, const Standard_Real Resolution)
 Initializes the local properties of the curve The current point and the derivatives are computed at the same time, which allows an optimization of the computation time. <N> indicates the maximum number of derivations to be done (0, 1, 2 or 3). For example, to compute only the tangent, N should be equal to 1. <Resolution> is the linear tolerance (it is used to test if a vector is null).
 
 GeomLProp_CLProps (const Handle< Geom_Curve > &C, const Standard_Real U, const Standard_Integer N, const Standard_Real Resolution)
 Same as previous constructor but here the parameter is set to the value . All the computations done will be related to and .
 
 GeomLProp_CLProps (const Standard_Integer N, const Standard_Real Resolution)
 Same as previous constructor but here the parameter is set to the value and the curve is set with SetCurve. the curve can have a empty constructor All the computations done will be related to and when the functions "set" will be done.
 
void SetParameter (const Standard_Real U)
 Initializes the local properties of the curve for the parameter value .
 
void SetCurve (const Handle< Geom_Curve > &C)
 Initializes the local properties of the curve for the new curve.
 
const gp_PntValue () const
 Returns the Point.
 
const gp_VecD1 ()
 Returns the first derivative. The derivative is computed if it has not been yet.
 
const gp_VecD2 ()
 Returns the second derivative. The derivative is computed if it has not been yet.
 
const gp_VecD3 ()
 Returns the third derivative. The derivative is computed if it has not been yet.
 
Standard_Boolean IsTangentDefined ()
 Returns True if the tangent is defined. For example, the tangent is not defined if the three first derivatives are all null.
 
void Tangent (gp_Dir &D)
 output the tangent direction <D>
 
Standard_Real Curvature ()
 Returns the curvature.
 
void Normal (gp_Dir &N)
 Returns the normal direction <N>.
 
void CentreOfCurvature (gp_Pnt &P)
 Returns the centre of curvature.
 

Constructor & Destructor Documentation

◆ GeomLProp_CLProps() [1/3]

GeomLProp_CLProps::GeomLProp_CLProps ( const Handle< Geom_Curve > & C,
const Standard_Integer N,
const Standard_Real Resolution )

Initializes the local properties of the curve The current point and the derivatives are computed at the same time, which allows an optimization of the computation time. <N> indicates the maximum number of derivations to be done (0, 1, 2 or 3). For example, to compute only the tangent, N should be equal to 1. <Resolution> is the linear tolerance (it is used to test if a vector is null).

◆ GeomLProp_CLProps() [2/3]

GeomLProp_CLProps::GeomLProp_CLProps ( const Handle< Geom_Curve > & C,
const Standard_Real U,
const Standard_Integer N,
const Standard_Real Resolution )

Same as previous constructor but here the parameter is set to the value . All the computations done will be related to and .

◆ GeomLProp_CLProps() [3/3]

GeomLProp_CLProps::GeomLProp_CLProps ( const Standard_Integer N,
const Standard_Real Resolution )

Same as previous constructor but here the parameter is set to the value and the curve is set with SetCurve. the curve can have a empty constructor All the computations done will be related to and when the functions "set" will be done.

Member Function Documentation

◆ CentreOfCurvature()

void GeomLProp_CLProps::CentreOfCurvature ( gp_Pnt & P)

Returns the centre of curvature.

.

◆ Curvature()

Standard_Real GeomLProp_CLProps::Curvature ( )

Returns the curvature.

◆ D1()

const gp_Vec & GeomLProp_CLProps::D1 ( )

Returns the first derivative. The derivative is computed if it has not been yet.

◆ D2()

const gp_Vec & GeomLProp_CLProps::D2 ( )

Returns the second derivative. The derivative is computed if it has not been yet.

◆ D3()

const gp_Vec & GeomLProp_CLProps::D3 ( )

Returns the third derivative. The derivative is computed if it has not been yet.

◆ IsTangentDefined()

Standard_Boolean GeomLProp_CLProps::IsTangentDefined ( )

Returns True if the tangent is defined. For example, the tangent is not defined if the three first derivatives are all null.

◆ Normal()

void GeomLProp_CLProps::Normal ( gp_Dir & N)

Returns the normal direction <N>.

◆ SetCurve()

void GeomLProp_CLProps::SetCurve ( const Handle< Geom_Curve > & C)

Initializes the local properties of the curve for the new curve.

◆ SetParameter()

void GeomLProp_CLProps::SetParameter ( const Standard_Real U)

Initializes the local properties of the curve for the parameter value .

◆ Tangent()

void GeomLProp_CLProps::Tangent ( gp_Dir & D)

output the tangent direction <D>

◆ Value()

const gp_Pnt & GeomLProp_CLProps::Value ( ) const

Returns the Point.


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