Open CASCADE Technology 7.8.2.dev
|
#include <LProp3d_SLProps.hxx>
Public Member Functions | |
LProp3d_SLProps (const Handle< Adaptor3d_Surface > &S, const Standard_Real U, const Standard_Real V, const Standard_Integer N, const Standard_Real Resolution) | |
Initializes the local properties of the surface | |
LProp3d_SLProps (const Handle< Adaptor3d_Surface > &S, const Standard_Integer N, const Standard_Real Resolution) | |
idem as previous constructor but without setting the value of parameters and <V>. | |
LProp3d_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. | |
void | SetSurface (const Handle< Adaptor3d_Surface > &S) |
Initializes the local properties of the surface S for the new surface. | |
void | SetParameters (const Standard_Real U, const Standard_Real 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. | |
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. | |
void | TangentU (gp_Dir &D) |
Returns the tangent direction <D> on the iso-V. | |
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. | |
void | TangentV (gp_Dir &D) |
Returns the tangent direction <D> on the iso-V. | |
Standard_Boolean | IsNormalDefined () |
Tells if the normal is defined. | |
const gp_Dir & | Normal () |
Returns the normal direction. | |
Standard_Boolean | IsCurvatureDefined () |
returns True if the curvature is defined. | |
Standard_Boolean | IsUmbilic () |
returns True if the point is umbilic (i.e. if the curvature is constant). | |
Standard_Real | MaxCurvature () |
Returns the maximum curvature. | |
Standard_Real | 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> | |
Standard_Real | MeanCurvature () |
Returns the mean curvature. | |
Standard_Real | GaussianCurvature () |
Returns the Gaussian curvature. | |
LProp3d_SLProps::LProp3d_SLProps | ( | const Handle< Adaptor3d_Surface > & | 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).
LProp3d_SLProps::LProp3d_SLProps | ( | const Handle< Adaptor3d_Surface > & | S, |
const Standard_Integer | N, | ||
const Standard_Real | Resolution ) |
idem as previous constructor but without setting the value of parameters and <V>.
LProp3d_SLProps::LProp3d_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.
Returns the direction of the maximum and minimum curvature <MaxD> and <MinD>
const gp_Vec & LProp3d_SLProps::D1U | ( | ) |
Returns the first U derivative. The derivative is computed if it has not been yet.
const gp_Vec & LProp3d_SLProps::D1V | ( | ) |
Returns the first V derivative. The derivative is computed if it has not been yet.
const gp_Vec & LProp3d_SLProps::D2U | ( | ) |
Returns the second U derivatives The derivative is computed if it has not been yet.
const gp_Vec & LProp3d_SLProps::D2V | ( | ) |
Returns the second V derivative. The derivative is computed if it has not been yet.
const gp_Vec & LProp3d_SLProps::DUV | ( | ) |
Returns the second UV cross-derivative. The derivative is computed if it has not been yet.
Standard_Real LProp3d_SLProps::GaussianCurvature | ( | ) |
Returns the Gaussian curvature.
Standard_Boolean LProp3d_SLProps::IsCurvatureDefined | ( | ) |
returns True if the curvature is defined.
Standard_Boolean LProp3d_SLProps::IsNormalDefined | ( | ) |
Tells if the normal is defined.
Standard_Boolean LProp3d_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.
Standard_Boolean LProp3d_SLProps::IsTangentVDefined | ( | ) |
returns if the V tangent is defined. For example, the tangent is not defined if the two first V derivatives are null.
Standard_Boolean LProp3d_SLProps::IsUmbilic | ( | ) |
returns True if the point is umbilic (i.e. if the curvature is constant).
Standard_Real LProp3d_SLProps::MaxCurvature | ( | ) |
Returns the maximum curvature.
Standard_Real LProp3d_SLProps::MeanCurvature | ( | ) |
Returns the mean curvature.
Standard_Real LProp3d_SLProps::MinCurvature | ( | ) |
Returns the minimum curvature.
const gp_Dir & LProp3d_SLProps::Normal | ( | ) |
Returns the normal direction.
void LProp3d_SLProps::SetParameters | ( | const Standard_Real | U, |
const Standard_Real | V ) |
Initializes the local properties of the surface S for the new parameter values (, <V>).
void LProp3d_SLProps::SetSurface | ( | const Handle< Adaptor3d_Surface > & | S | ) |
Initializes the local properties of the surface S for the new surface.
void LProp3d_SLProps::TangentU | ( | gp_Dir & | D | ) |
Returns the tangent direction <D> on the iso-V.
void LProp3d_SLProps::TangentV | ( | gp_Dir & | D | ) |
Returns the tangent direction <D> on the iso-V.
const gp_Pnt & LProp3d_SLProps::Value | ( | ) | const |
Returns the point.