AnyCAD Rapid API 2023
Help you to create a better world!
SurfaceShapeProperty Class Reference

Public Member Functions

 SurfaceShapeProperty (TopoShape face)
 
void SetSurface (TopoShape face)
 
void SetParameters (double U, double V)
 
boolean IsCurvatureDefined ()
 
GPnt Value ()
 
GVec D1U ()
 
GVec D1V ()
 
GVec D2U ()
 
GVec D2V ()
 
GVec DUV ()
 
boolean IsTangentUDefined ()
 
GDir TangentU ()
 
boolean IsTangentVDefined ()
 
GDir TangentV ()
 
boolean IsNormalDefined ()
 
GDir Normal ()
 
boolean IsUmbilic ()
 
double MaxCurvature ()
 
GDir GetDirectionOfMax ()
 
double MinCurvature ()
 
GDir GetDirectionOfMin ()
 
double MeanCurvature ()
 
double GaussianCurvature ()
 

Detailed Description

<>
SurfaceShapeProperty is used to get the local property of surface.

Member Function Documentation

◆ D1U()

GVec SurfaceShapeProperty.D1U ( )

Returns the first U derivative.

◆ D1V()

GVec SurfaceShapeProperty.D1V ( )

Returns the first V derivative.

◆ D2U()

GVec SurfaceShapeProperty.D2U ( )

Returns the second U derivatives

◆ D2V()

GVec SurfaceShapeProperty.D2V ( )

Returns the second V derivative.

◆ DUV()

GVec SurfaceShapeProperty.DUV ( )

Returns the second UV cross-derivative.

◆ GaussianCurvature()

double SurfaceShapeProperty.GaussianCurvature ( )

Returns the Gaussian curvature

Returns
the Gaussian curvature

◆ IsNormalDefined()

boolean SurfaceShapeProperty.IsNormalDefined ( )

Tells if the normal is defined.

◆ IsTangentUDefined()

boolean SurfaceShapeProperty.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()

boolean SurfaceShapeProperty.IsTangentVDefined ( )

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

◆ IsUmbilic()

boolean SurfaceShapeProperty.IsUmbilic ( )

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

◆ MaxCurvature()

double SurfaceShapeProperty.MaxCurvature ( )

Returns the maximum curvature

Returns
the maximum curvature

◆ MeanCurvature()

double SurfaceShapeProperty.MeanCurvature ( )

Returns the mean curvature.

Returns
the mean curvature.

◆ MinCurvature()

double SurfaceShapeProperty.MinCurvature ( )

Returns the maximum curvature

Returns
the maximum curvature

◆ Normal()

GDir SurfaceShapeProperty.Normal ( )

Returns the normal direction.

◆ TangentU()

GDir SurfaceShapeProperty.TangentU ( )

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

◆ TangentV()

GDir SurfaceShapeProperty.TangentV ( )

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