AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
Public 成员函数 | 所有成员列表
AnyCAD::API::GeomSurface类 参考

BSpline surface tool that can be used to construct BSpline and get BSpline information. 更多...

#include <APIGeomSurface.h>

类 AnyCAD::API::GeomSurface 继承关系图:
AnyCAD::API::GeomBase

Public 成员函数

virtual bool IsValidGeomey () const
 
virtual bool Initialize (const TopoShape &topoShape)
 
EnumSurfaceType GetSurfaceType () const
 
Real Tolerance () const
 
Real FirstUParameter () const
 
Real LastUParameter () const
 
Real FirstVParameter () const
 
Real LastVParameter () const
 
int UContinuity () const
 
int VContinuity () const
 
bool IsUClosed () const
 
bool IsVClosed () const
 
bool IsUPeriodic () const
 
bool IsVPeriodic () const
 
Real UPeriod () const
 
Real VPeriod () const
 
Vector3 Value (Real u, Real v) const
 
Vector3 GetNormal (Real u, Real v) const
 
Vector3 D0 (Real u, Real v) const
 
Vector3List D1 (Real u, Real v) const
 
Vector3List D2 (Real u, Real v) const
 
Vector3List D3 (Real u, Real v) const
 
Vector3 DN (Real u, Real v, int nu, int nv) const
 

详细描述

BSpline surface tool that can be used to construct BSpline and get BSpline information.

成员函数说明

Vector3 AnyCAD::API::GeomSurface::D0 ( Real  u,
Real  v 
) const

Computes the point of parameter U on the surface.

参数
uthe parameter
vthe parameter v
返回
the point.
Vector3List AnyCAD::API::GeomSurface::D1 ( Real  u,
Real  v 
) const

Computes the point and derivative of parameter U on the surface.

参数
uthe parameter
vthe parameter v
返回
the point and D1U, D1V. Empty if not C1
Vector3List AnyCAD::API::GeomSurface::D2 ( Real  u,
Real  v 
) const

Computes the point and derivative of parameter U on the surface.

参数
uthe parameter
vthe parameter v
返回
the point, the D1U, D1V, D2U, D2V, D2UV. Empty if not C2.
Vector3List AnyCAD::API::GeomSurface::D3 ( Real  u,
Real  v 
) const

Computes the point and derivative of parameter U on the surface.

参数
uthe parameter
vthe parameter v
返回
the point, the D1U, D1V, D2U, D2V, D2UV, D3U, D3V, D3UUV, D3UVV. Empty if not C3.
Vector3 AnyCAD::API::GeomSurface::DN ( Real  u,
Real  v,
int  nu,
int  nv 
) const

The returned vector gives the value of the derivative for the order of derivation N.

参数
uthe parameter
vthe parameter v
nuthe order of derivation
nvthe order of derivation
返回
the vector. Return zero if not CN or N < 1.
Real AnyCAD::API::GeomSurface::FirstUParameter ( ) const

The first u parameter.

Real AnyCAD::API::GeomSurface::FirstVParameter ( ) const

The first v parameter.

Vector3 AnyCAD::API::GeomSurface::GetNormal ( Real  u,
Real  v 
) const

Computes the normal of parameter U and V on the surface.

参数
uthe parameter u
vthe parameter v
返回
the normal.
EnumSurfaceType AnyCAD::API::GeomSurface::GetSurfaceType ( ) const

Get the surface type. enum EnumSurfaceType:

返回
the point.
virtual bool AnyCAD::API::GeomSurface::Initialize ( const TopoShape topoShape)
virtual

Use TopoShape to initialize the geometry, must be surface.

参数
topoShapethe TopoShape
返回
true if ok.

重载 AnyCAD::API::GeomBase .

bool AnyCAD::API::GeomSurface::IsUClosed ( ) const

Is Closed.

bool AnyCAD::API::GeomSurface::IsUPeriodic ( ) const

Is Periodic.

virtual bool AnyCAD::API::GeomSurface::IsValidGeomey ( ) const
virtual

Test if valid.

重载 AnyCAD::API::GeomBase .

bool AnyCAD::API::GeomSurface::IsVClosed ( ) const

Is Closed.

bool AnyCAD::API::GeomSurface::IsVPeriodic ( ) const

Is Periodic.

Real AnyCAD::API::GeomSurface::LastUParameter ( ) const

The last u parameter.

Real AnyCAD::API::GeomSurface::LastVParameter ( ) const

The last v parameter.

Real AnyCAD::API::GeomSurface::Tolerance ( ) const

tolerance.

int AnyCAD::API::GeomSurface::UContinuity ( ) const

Continuity. enum: C0 = 0, G1, C1, G2, C2, C3, CN

Real AnyCAD::API::GeomSurface::UPeriod ( ) const

The period.

Vector3 AnyCAD::API::GeomSurface::Value ( Real  u,
Real  v 
) const

Computes the point of parameter U and V on the surface.

参数
uthe parameter u
vthe parameter v
返回
the point.
int AnyCAD::API::GeomSurface::VContinuity ( ) const

Continuity. enum: C0 = 0, G1, C1, G2, C2, C3, CN

Real AnyCAD::API::GeomSurface::VPeriod ( ) const

The period.


该类的文档由以下文件生成: