AnyCAD Rapid API 2024
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 () |
EnumGeometryContinuity | UContinuity () |
EnumGeometryContinuity | 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) |
GVec | GetNormalByUV (double u, double v) |
GVec | GetNormal (GXY uv) |
GVec | GetNormalByXY (GXY uv) |
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 | ComputeClosestPointByTol (GPnt pt, double tolU, double tolV) |
GXY | ComputeClosestPoint (GPnt pt) |
GXY | ComputeClosestPointByDefault (GPnt pt) |
GXY | GetUV (GPnt pt) |
double | GetArea () |
GPln | TryPlane () |
GCylinder | TryCylinder () |
GCone | TryCone () |
GSphere | TrySphere () |
GTorus | TryTorus () |
GBSplineSurface | TryBSplineSurface () |
GBezierSurface | TryBezierSurface () |
Public 成员函数 继承自 ParametricGeometry | |
long | GetId () |
void | SetId (long val) |
TopoShape | GetShape () |
额外继承的成员函数 | |
静态 Public 成员函数 继承自 ParametricGeometry | |
static GPnt | GetPointValue (TopoShape vertex) |
<>
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 u |
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.
GBezierSurface ParametricSurface.TryBezierSurface | ( | ) |
转换成BezierSurface
GBSplineSurface ParametricSurface.TryBSplineSurface | ( | ) |
转换成BSplineSurface
GCone ParametricSurface.TryCone | ( | ) |
转换成圆锥面
GCylinder ParametricSurface.TryCylinder | ( | ) |
转换成圆柱面
GPln ParametricSurface.TryPlane | ( | ) |
转换成平面
GSphere ParametricSurface.TrySphere | ( | ) |
转换成球面
GTorus ParametricSurface.TryTorus | ( | ) |
转换成圆环面
EnumGeometryContinuity ParametricSurface.UContinuity | ( | ) |
U方向连续性
double ParametricSurface.UPeriod | ( | ) |
The period.
GPnt ParametricSurface.Value | ( | double | u, |
double | v ) |
计算给定位置的点坐标.
u | the parameter u |
v | the parameter v |
EnumGeometryContinuity ParametricSurface.VContinuity | ( | ) |
V方向连续性
double ParametricSurface.VPeriod | ( | ) |
The period.