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

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

#include <APIGeomCurve2d.h>

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

Public 成员函数

virtual bool IsValidGeomey () const
 
virtual bool Initialize (const TopoShape &topoShape)
 
EnumCurveType GetCurveType () const
 
Real Tolerance () const
 
Real FirstParameter () const
 
Real LastParameter () const
 
int Continuity () const
 
bool IsClosed () const
 
bool IsPeriodic () const
 
Real Period () const
 
Vector2 Value (Real u) const
 
Vector2 D0 (Real u) const
 
Vector2List D1 (Real u) const
 
Vector2List D2 (Real u) const
 
Vector2List D3 (Real u) const
 
Vector2 DN (Real u, int n) const
 

详细描述

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

成员函数说明

int AnyCAD::API::GeomCurve2d::Continuity ( ) const

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

Vector2 AnyCAD::API::GeomCurve2d::D0 ( Real  u) const

Computes the point of parameter U on the curve.

参数
uthe parameter
返回
the point.
Vector2List AnyCAD::API::GeomCurve2d::D1 ( Real  u) const

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

参数
uthe parameter
返回
the point and the first derivative. Empty if not C1
Vector2List AnyCAD::API::GeomCurve2d::D2 ( Real  u) const

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

参数
uthe parameter
返回
the point, the first and second derivative. Empty if not C2.
Vector2List AnyCAD::API::GeomCurve2d::D3 ( Real  u) const

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

参数
uthe parameter
返回
the point, the first, the second and the third derivative. Empty if not C3.
Vector2 AnyCAD::API::GeomCurve2d::DN ( Real  u,
int  n 
) const

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

参数
uthe parameter
nthe order of derivation
返回
the vector. Return zero if not CN or N < 1.
Real AnyCAD::API::GeomCurve2d::FirstParameter ( ) const

The first parameter.

EnumCurveType AnyCAD::API::GeomCurve2d::GetCurveType ( ) const

Get the curve type. enum EnumCurveType

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

Use TopoShape to initialize the geometry, must be Edge.

参数
topoShapethe TopoShape
返回
true if ok.

重载 AnyCAD::API::GeomBase .

bool AnyCAD::API::GeomCurve2d::IsClosed ( ) const

Is Closed.

bool AnyCAD::API::GeomCurve2d::IsPeriodic ( ) const

Is Periodic.

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

Test if valid.

重载 AnyCAD::API::GeomBase .

Real AnyCAD::API::GeomCurve2d::LastParameter ( ) const

The last parameter.

Real AnyCAD::API::GeomCurve2d::Period ( ) const

The period.

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

tolerance.

Vector2 AnyCAD::API::GeomCurve2d::Value ( Real  u) const

Computes the point of parameter U on the curve.

参数
uthe parameter
返回
the point.

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