AnyCAD Rapid API 2023
Help you to create a better world!
|
Public 成员函数 | |
ParametricSurface (TopoShape face) | |
boolean | IsValidGeometry () |
boolean | Initialize (TopoShape face) |
EnumSurfaceType | GetSurfaceType () |
double | Tolerance () |
double | FirstUParameter () |
double | LastUParameter () |
double | FirstVParameter () |
double | LastVParameter () |
int | UContinuity () |
int | VContinuity () |
boolean | IsUClosed () |
boolean | IsVClosed () |
boolean | IsUPeriodic () |
boolean | IsVPeriodic () |
double | UPeriod () |
double | VPeriod () |
GTrsf | GetTransform () |
GPnt | Value (double u, double v) |
GVec | GetNormal (double u, double v) |
GPnt | D0 (double u, double v) |
DerivativeValues | D1 (double u, double v) |
DerivativeValues | D2 (double u, double v) |
DerivativeValues | D3 (double u, double v) |
GVec | DN (double u, double v, int nu, int nv) |
GXY | ComputeClosestPoint (GPnt pt, double tolU, double tolV) |
GXY | GetUV (GPnt pt) |
double | GetArea () |
GPln | TryPlane () |
GCylinder | TryCylinder () |
GCone | TryCone () |
GSphere | TrySphere () |
GTorus | TryTorus () |
Public 成员函数 继承自 ParametricGeometry | |
long | GetId () |
void | SetId (long val) |
boolean | IsValidGeometry () |
boolean | Initialize (TopoShape shape) |
TopoShape | GetShape () |
<>
ParametricSurface几何曲面对象的参数表达,用来获取曲面上的点、法向等信息.
ParametricSurface.ParametricSurface | ( | TopoShape | face | ) |
构造函数,初始化对象
face | 面对象 |
用投影的方式,计算在曲面上与点最接近的点
pt | 点 |
tolU | u方向的误差 |
tolV | v方向的误差 |
GPnt ParametricSurface.D0 | ( | double | u, |
double | v | ||
) |
Computes the point of parameter U on the surface.
u | the parameter |
v | the parameter v |
DerivativeValues ParametricSurface.D1 | ( | double | u, |
double | v | ||
) |
Computes the point and derivative of parameter U on the surface.
u | the parameter |
v | the parameter v |
DerivativeValues ParametricSurface.D2 | ( | double | u, |
double | v | ||
) |
Computes the point and derivative of parameter U on the surface.
u | the parameter |
v | the parameter v |
DerivativeValues ParametricSurface.D3 | ( | double | u, |
double | v | ||
) |
Computes the point and derivative of parameter U on the surface.
u | the parameter |
v | the parameter v |
GVec ParametricSurface.DN | ( | double | u, |
double | v, | ||
int | nu, | ||
int | nv | ||
) |
The returned vector gives the value of the derivative for the order of derivation N.
u | the parameter |
v | the parameter v |
nu | the order of derivation |
nv | the order of derivation |
double ParametricSurface.FirstUParameter | ( | ) |
The first u parameter.
double ParametricSurface.FirstVParameter | ( | ) |
The first v parameter.
double ParametricSurface.GetArea | ( | ) |
计算面积
GVec ParametricSurface.GetNormal | ( | double | u, |
double | v | ||
) |
计算指定位置的法向.
u | the parameter u |
v | the parameter v |
EnumSurfaceType ParametricSurface.GetSurfaceType | ( | ) |
Get the surface type.
enum EnumSurfaceType:
GTrsf ParametricSurface.GetTransform | ( | ) |
Get the transform.
boolean ParametricSurface.Initialize | ( | TopoShape | face | ) |
boolean ParametricSurface.IsUClosed | ( | ) |
Is Closed.
boolean ParametricSurface.IsUPeriodic | ( | ) |
Is Periodic.
boolean ParametricSurface.IsValidGeometry | ( | ) |
Test if valid.
重载 ParametricGeometry .
boolean ParametricSurface.IsVClosed | ( | ) |
Is Closed.
boolean ParametricSurface.IsVPeriodic | ( | ) |
Is Periodic.
double ParametricSurface.LastUParameter | ( | ) |
The last u parameter.
double ParametricSurface.LastVParameter | ( | ) |
The last v parameter.
double ParametricSurface.Tolerance | ( | ) |
tolerance.
GCone ParametricSurface.TryCone | ( | ) |
转换成圆锥面
GCylinder ParametricSurface.TryCylinder | ( | ) |
转换成圆柱面
GPln ParametricSurface.TryPlane | ( | ) |
转换成平面
GSphere ParametricSurface.TrySphere | ( | ) |
转换成球面
GTorus ParametricSurface.TryTorus | ( | ) |
转换成圆环面
int ParametricSurface.UContinuity | ( | ) |
Continuity.
enum:
C0 = 0,
G1,
C1,
G2,
C2,
C3,
CN
double ParametricSurface.UPeriod | ( | ) |
The period.
GPnt ParametricSurface.Value | ( | double | u, |
double | v | ||
) |
计算给定位置的点坐标.
u | the parameter u |
v | the parameter v |
int ParametricSurface.VContinuity | ( | ) |
Continuity.
enum:
C0 = 0,
G1,
C1,
G2,
C2,
C3,
CN
double ParametricSurface.VPeriod | ( | ) |
The period.