Template class for computing local properties of a 3D surface: point, first and second derivatives, tangent directions, normal, and curvature analysis (max, min, mean, Gaussian).
More...
#include <GeomLProp_SLProps.hxx>
|
| | GeomLProp_SLPropsBase (const SurfaceType &S, const double U, const double V, const int N, const double 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).
|
| |
| | GeomLProp_SLPropsBase (const SurfaceType &S, const int N, const double Resolution) |
| | idem as previous constructor but without setting the value of parameters and <V>.
|
| |
| | GeomLProp_SLPropsBase (const int N, const double Resolution) |
| | idem as previous constructor but without setting the value of parameters and <V> and the surface. the surface can have an empty constructor.
|
| |
| void | SetSurface (const SurfaceType &S) |
| | Initializes the local properties of the surface S for the new surface.
|
| |
| void | SetParameters (const double U, const double V) |
| | Initializes the local properties of the surface S for the new parameter values (, <V>).
|
| |
| const gp_Pnt & | Value () const |
| | Returns the point.
|
| |
| const gp_Vec & | D1U () |
| | Returns the first U derivative. The derivative is computed if it has not been yet.
|
| |
| const gp_Vec & | D1V () |
| | Returns the first V derivative. The derivative is computed if it has not been yet.
|
| |
| const gp_Vec & | D2U () |
| | Returns the second U derivatives The derivative is computed if it has not been yet.
|
| |
| const gp_Vec & | D2V () |
| | Returns the second V derivative. The derivative is computed if it has not been yet.
|
| |
| const gp_Vec & | DUV () |
| | Returns the second UV cross-derivative. The derivative is computed if it has not been yet.
|
| |
| bool | IsTangentUDefined () |
| | returns True if the U tangent is defined. For example, the tangent is not defined if the two first U derivatives are null.
|
| |
| void | TangentU (gp_Dir &D) |
| | Returns the tangent direction <D> on the iso-V.
|
| |
| bool | IsTangentVDefined () |
| | returns if the V tangent is defined. For example, the tangent is not defined if the two first V derivatives are null.
|
| |
| void | TangentV (gp_Dir &D) |
| | Returns the tangent direction <D> on the iso-V.
|
| |
| bool | IsNormalDefined () |
| | Tells if the normal is defined.
|
| |
| const gp_Dir & | Normal () |
| | Returns the normal direction.
|
| |
| bool | IsCurvatureDefined () |
| | returns True if the curvature is defined.
|
| |
| bool | IsUmbilic () |
| | returns True if the point is umbilic (i.e. if the curvature is constant).
|
| |
| double | MaxCurvature () |
| | Returns the maximum curvature.
|
| |
| double | MinCurvature () |
| | Returns the minimum curvature.
|
| |
| void | CurvatureDirections (gp_Dir &MaxD, gp_Dir &MinD) |
| | Returns the direction of the maximum and minimum curvature <MaxD> and <MinD>
|
| |
| double | MeanCurvature () |
| | Returns the mean curvature.
|
| |
| double | GaussianCurvature () |
| | Returns the Gaussian curvature.
|
| |
template<
typename SurfaceType,
typename Access = LProp_SurfaceUtils::DirectAccess>
class GeomLProp_SLPropsBase< SurfaceType, Access >
Template class for computing local properties of a 3D surface: point, first and second derivatives, tangent directions, normal, and curvature analysis (max, min, mean, Gaussian).
- Template Parameters
-
◆ GeomLProp_SLPropsBase() [1/3]
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).
◆ GeomLProp_SLPropsBase() [2/3]
idem as previous constructor but without setting the value of parameters and <V>.
◆ GeomLProp_SLPropsBase() [3/3]
idem as previous constructor but without setting the value of parameters and <V> and the surface. the surface can have an empty constructor.
◆ CurvatureDirections()
Returns the direction of the maximum and minimum curvature <MaxD> and <MinD>
◆ D1U()
Returns the first U derivative. The derivative is computed if it has not been yet.
◆ D1V()
Returns the first V derivative. The derivative is computed if it has not been yet.
◆ D2U()
Returns the second U derivatives The derivative is computed if it has not been yet.
◆ D2V()
Returns the second V derivative. The derivative is computed if it has not been yet.
◆ DUV()
Returns the second UV cross-derivative. The derivative is computed if it has not been yet.
◆ GaussianCurvature()
Returns the Gaussian curvature.
◆ IsCurvatureDefined()
returns True if the curvature is defined.
◆ IsNormalDefined()
Tells if the normal is defined.
◆ 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()
returns if the V tangent is defined. For example, the tangent is not defined if the two first V derivatives are null.
◆ IsUmbilic()
returns True if the point is umbilic (i.e. if the curvature is constant).
◆ MaxCurvature()
Returns the maximum curvature.
◆ MeanCurvature()
Returns the mean curvature.
◆ MinCurvature()
Returns the minimum curvature.
◆ Normal()
Returns the normal direction.
◆ SetParameters()
Initializes the local properties of the surface S for the new parameter values (, <V>).
◆ SetSurface()
Initializes the local properties of the surface S for the new surface.
◆ TangentU()
Returns the tangent direction <D> on the iso-V.
◆ TangentV()
Returns the tangent direction <D> on the iso-V.
◆ Value()
The documentation for this class was generated from the following file: