AnyCAD Rapid API 2023
Help you to create a better world!
|
Public 成员函数 | |
SurfaceShapeProperty (TopoShape face) | |
boolean | 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 () |
<>
获取曲面的局部属性
GVec SurfaceShapeProperty.D1U | ( | ) |
Returns the first U derivative.
GVec SurfaceShapeProperty.D1V | ( | ) |
Returns the first V derivative.
GVec SurfaceShapeProperty.D2U | ( | ) |
Returns the second U derivatives
GVec SurfaceShapeProperty.D2V | ( | ) |
Returns the second V derivative.
GVec SurfaceShapeProperty.DUV | ( | ) |
Returns the second UV cross-derivative.
double SurfaceShapeProperty.GaussianCurvature | ( | ) |
Returns the Gaussian curvature
boolean SurfaceShapeProperty.IsNormalDefined | ( | ) |
Tells if the normal is defined.
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.
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.
boolean SurfaceShapeProperty.IsUmbilic | ( | ) |
returns True if the point is umbilic(i.e. if the curvature is constant).
double SurfaceShapeProperty.MaxCurvature | ( | ) |
Returns the maximum curvature
double SurfaceShapeProperty.MeanCurvature | ( | ) |
Returns the mean curvature.
double SurfaceShapeProperty.MinCurvature | ( | ) |
Returns the maximum curvature
GDir SurfaceShapeProperty.Normal | ( | ) |
Returns the normal direction.
void SurfaceShapeProperty.SetParameters | ( | double | U, |
double | V | ||
) |
设置计算的位置
U | U值 |
V | V值 |
boolean SurfaceShapeProperty.SetSurface | ( | TopoShape | face | ) |
设置曲面
face | 曲面 |
GDir SurfaceShapeProperty.TangentU | ( | ) |
Returns the tangent direction <D> on the iso-V.
GDir SurfaceShapeProperty.TangentV | ( | ) |
Returns the tangent direction <D> on the iso-V.