Open CASCADE Technology  7.6.0
Public Member Functions

HLRBRep_SLProps Class Reference

#include <HLRBRep_SLProps.hxx>

Public Member Functions

 HLRBRep_SLProps (const Standard_Address &S, const Standard_Real U, const Standard_Real V, const Standard_Integer N, const Standard_Real Resolution)
 Initializes the local properties of the surface for the parameter values (, <V>). 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, or 2). 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). More...
 
 HLRBRep_SLProps (const Standard_Address &S, const Standard_Integer N, const Standard_Real Resolution)
 idem as previous constructor but without setting the value of parameters and <V>. More...
 
 HLRBRep_SLProps (const Standard_Integer N, const Standard_Real Resolution)
 idem as previous constructor but without setting the value of parameters and <V> and the surface. the surface can have an empty constructor. More...
 
void SetSurface (const Standard_Address &S)
 Initializes the local properties of the surface S for the new surface. More...
 
void SetParameters (const Standard_Real U, const Standard_Real V)
 Initializes the local properties of the surface S for the new parameter values (, <V>). More...
 
const gp_PntValue () const
 Returns the point. More...
 
const gp_VecD1U ()
 Returns the first U derivative. The derivative is computed if it has not been yet. More...
 
const gp_VecD1V ()
 Returns the first V derivative. The derivative is computed if it has not been yet. More...
 
const gp_VecD2U ()
 Returns the second U derivatives The derivative is computed if it has not been yet. More...
 
const gp_VecD2V ()
 Returns the second V derivative. The derivative is computed if it has not been yet. More...
 
const gp_VecDUV ()
 Returns the second UV cross-derivative. The derivative is computed if it has not been yet. More...
 
Standard_Boolean IsTangentUDefined ()
 returns True if the U tangent is defined. For example, the tangent is not defined if the two first U derivatives are null. More...
 
void TangentU (gp_Dir &D)
 Returns the tangent direction <D> on the iso-V. More...
 
Standard_Boolean IsTangentVDefined ()
 returns if the V tangent is defined. For example, the tangent is not defined if the two first V derivatives are null. More...
 
void TangentV (gp_Dir &D)
 Returns the tangent direction <D> on the iso-V. More...
 
Standard_Boolean IsNormalDefined ()
 Tells if the normal is defined. More...
 
const gp_DirNormal ()
 Returns the normal direction. More...
 
Standard_Boolean IsCurvatureDefined ()
 returns True if the curvature is defined. More...
 
Standard_Boolean IsUmbilic ()
 returns True if the point is umbilic (i.e. if the curvature is constant). More...
 
Standard_Real MaxCurvature ()
 Returns the maximum curvature. More...
 
Standard_Real MinCurvature ()
 Returns the minimum curvature. More...
 
void CurvatureDirections (gp_Dir &MaxD, gp_Dir &MinD)
 Returns the direction of the maximum and minimum curvature <MaxD> and <MinD> More...
 
Standard_Real MeanCurvature ()
 Returns the mean curvature. More...
 
Standard_Real GaussianCurvature ()
 Returns the Gaussian curvature. More...
 

Constructor & Destructor Documentation

◆ HLRBRep_SLProps() [1/3]

HLRBRep_SLProps::HLRBRep_SLProps ( const Standard_Address S,
const Standard_Real  U,
const Standard_Real  V,
const Standard_Integer  N,
const Standard_Real  Resolution 
)

Initializes the local properties of the surface for the parameter values (, <V>). 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, or 2). 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).

◆ HLRBRep_SLProps() [2/3]

HLRBRep_SLProps::HLRBRep_SLProps ( const Standard_Address S,
const Standard_Integer  N,
const Standard_Real  Resolution 
)

idem as previous constructor but without setting the value of parameters and <V>.

◆ HLRBRep_SLProps() [3/3]

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

idem as previous constructor but without setting the value of parameters and <V> and the surface. the surface can have an empty constructor.

Member Function Documentation

◆ CurvatureDirections()

void HLRBRep_SLProps::CurvatureDirections ( gp_Dir MaxD,
gp_Dir MinD 
)

Returns the direction of the maximum and minimum curvature <MaxD> and <MinD>

◆ D1U()

const gp_Vec& HLRBRep_SLProps::D1U ( )

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

◆ D1V()

const gp_Vec& HLRBRep_SLProps::D1V ( )

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

◆ D2U()

const gp_Vec& HLRBRep_SLProps::D2U ( )

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

◆ D2V()

const gp_Vec& HLRBRep_SLProps::D2V ( )

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

◆ DUV()

const gp_Vec& HLRBRep_SLProps::DUV ( )

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

◆ GaussianCurvature()

Standard_Real HLRBRep_SLProps::GaussianCurvature ( )

Returns the Gaussian curvature.

◆ IsCurvatureDefined()

Standard_Boolean HLRBRep_SLProps::IsCurvatureDefined ( )

returns True if the curvature is defined.

◆ IsNormalDefined()

Standard_Boolean HLRBRep_SLProps::IsNormalDefined ( )

Tells if the normal is defined.

◆ IsTangentUDefined()

Standard_Boolean HLRBRep_SLProps::IsTangentUDefined ( )

returns True if the U tangent is defined. For example, the tangent is not defined if the two first U derivatives are null.

◆ IsTangentVDefined()

Standard_Boolean HLRBRep_SLProps::IsTangentVDefined ( )

returns if the V tangent is defined. For example, the tangent is not defined if the two first V derivatives are null.

◆ IsUmbilic()

Standard_Boolean HLRBRep_SLProps::IsUmbilic ( )

returns True if the point is umbilic (i.e. if the curvature is constant).

◆ MaxCurvature()

Standard_Real HLRBRep_SLProps::MaxCurvature ( )

Returns the maximum curvature.

◆ MeanCurvature()

Standard_Real HLRBRep_SLProps::MeanCurvature ( )

Returns the mean curvature.

◆ MinCurvature()

Standard_Real HLRBRep_SLProps::MinCurvature ( )

Returns the minimum curvature.

◆ Normal()

const gp_Dir& HLRBRep_SLProps::Normal ( )

Returns the normal direction.

◆ SetParameters()

void HLRBRep_SLProps::SetParameters ( const Standard_Real  U,
const Standard_Real  V 
)

Initializes the local properties of the surface S for the new parameter values (, <V>).

◆ SetSurface()

void HLRBRep_SLProps::SetSurface ( const Standard_Address S)

Initializes the local properties of the surface S for the new surface.

◆ TangentU()

void HLRBRep_SLProps::TangentU ( gp_Dir D)

Returns the tangent direction <D> on the iso-V.

◆ TangentV()

void HLRBRep_SLProps::TangentV ( gp_Dir D)

Returns the tangent direction <D> on the iso-V.

◆ Value()

const gp_Pnt& HLRBRep_SLProps::Value ( ) const

Returns the point.


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