Skip to content

mxcad_3d API 文档 / Mx3dGeomCurve

Class: Mx3dGeomCurve ​

表示几何曲线的类,继承自 Mx3dGeomObject。

Hierarchy ​

Table of contents ​

Constructors ​

Methods ​

Constructors ​

constructor ​

• new Mx3dGeomCurve(p?)

Parameters ​

NameType
p?object

Overrides ​

Mx3dGeomObject.constructor

Methods ​

DynCast ​

▸ DynCast(theObject): Mx3dGeomCurve

Parameters ​

NameType
theObjectMx3dGeomObject

Returns ​

Mx3dGeomCurve

Inherited from ​

Mx3dGeomObject.DynCast


DynamicType ​

▸ DynamicType(): string

返回对象的动态类型。

Returns ​

string

动态类型的字符串。


MirrorByAxis ​

▸ MirrorByAxis(A1): void

通过轴对几何对象进行镜像变换。

Parameters ​

NameTypeDescription
A1Mx3dGeAxis轴对象。

Returns ​

void

Inherited from ​

Mx3dGeomObject.MirrorByAxis


MirrorByCSYSR ​

▸ MirrorByCSYSR(A2): void

通过右手坐标系对几何对象进行镜像变换。

Parameters ​

NameTypeDescription
A2Mx3dGeCSYSR右手坐标系对象。

Returns ​

void

Inherited from ​

Mx3dGeomObject.MirrorByCSYSR


MirrorByPoint ​

▸ MirrorByPoint(P): void

通过点对几何对象进行镜像变换。

Parameters ​

NameTypeDescription
PMx3dGePoint点对象。

Returns ​

void

Inherited from ​

Mx3dGeomObject.MirrorByPoint


MirroredByAxis ​

▸ MirroredByAxis(A1): Mx3dGeomCurve

返回通过轴镜像变换后的新几何对象。

Parameters ​

NameTypeDescription
A1Mx3dGeAxis轴对象。

Returns ​

Mx3dGeomCurve

新的几何对象。

Inherited from ​

Mx3dGeomObject.MirroredByAxis


MirroredByCSYSR ​

▸ MirroredByCSYSR(A2): Mx3dGeomCurve

返回通过右手坐标系镜像变换后的新几何对象。

Parameters ​

NameTypeDescription
A2Mx3dGeCSYSR右手坐标系对象。

Returns ​

Mx3dGeomCurve

新的几何对象。

Inherited from ​

Mx3dGeomObject.MirroredByCSYSR


MirroredByPoint ​

▸ MirroredByPoint(P): Mx3dGeomCurve

返回通过点镜像变换后的新几何对象。

Parameters ​

NameTypeDescription
PMx3dGePoint点对象。

Returns ​

Mx3dGeomCurve

新的几何对象。

Inherited from ​

Mx3dGeomObject.MirroredByPoint


Period ​

▸ Period(): number

返回曲线的周期。

Returns ​

number

曲线的周期。


Reversed ​

▸ Reversed(): Mx3dGeomCurve

返回反向后的新几何曲线对象。

Returns ​

Mx3dGeomCurve

新的几何曲线对象。


Rotate ​

▸ Rotate(A1, Ang): void

旋转几何对象。

Parameters ​

NameTypeDescription
A1Mx3dGeAxis轴对象。
Angnumber旋转角度。

Returns ​

void

Inherited from ​

Mx3dGeomObject.Rotate


Rotated ​

▸ Rotated(A1, Ang): Mx3dGeomCurve

返回旋转后的新几何对象。

Parameters ​

NameTypeDescription
A1Mx3dGeAxis轴对象。
Angnumber旋转角度。

Returns ​

Mx3dGeomCurve

新的几何对象。

Inherited from ​

Mx3dGeomObject.Rotated


Scale ​

▸ Scale(P, S): void

缩放几何对象。

Parameters ​

NameTypeDescription
PMx3dGePoint点对象。
Snumber缩放比例。

Returns ​

void

Inherited from ​

Mx3dGeomObject.Scale


Scaled ​

▸ Scaled(P, S): Mx3dGeomCurve

返回缩放后的新几何对象。

Parameters ​

NameTypeDescription
PMx3dGePoint点对象。
Snumber缩放比例。

Returns ​

Mx3dGeomCurve

新的几何对象。

Inherited from ​

Mx3dGeomObject.Scaled


Transformed ​

▸ Transformed(T): Mx3dGeomCurve

返回变换后的新几何对象。

Parameters ​

NameTypeDescription
TMx3dGeTrsf变换对象。

Returns ​

Mx3dGeomCurve

新的几何对象。

Inherited from ​

Mx3dGeomObject.Transformed


TranslateBy2Points ​

▸ TranslateBy2Points(P1, P2): void

通过两个点平移几何对象。

Parameters ​

NameTypeDescription
P1Mx3dGePoint起始点对象。
P2Mx3dGePoint终止点对象。

Returns ​

void

Inherited from ​

Mx3dGeomObject.TranslateBy2Points


TranslateByVec ​

▸ TranslateByVec(V): void

通过向量平移几何对象。

Parameters ​

NameTypeDescription
VMx3dGeVec向量对象。

Returns ​

void

Inherited from ​

Mx3dGeomObject.TranslateByVec


TranslatedBy2Points ​

▸ TranslatedBy2Points(P1, P2): Mx3dGeomCurve

返回通过两个点平移后的新几何对象。

Parameters ​

NameTypeDescription
P1Mx3dGePoint起始点对象。
P2Mx3dGePoint终止点对象。

Returns ​

Mx3dGeomCurve

新的几何对象。

Inherited from ​

Mx3dGeomObject.TranslatedBy2Points


TranslatedByVec ​

▸ TranslatedByVec(V): Mx3dGeomCurve

返回通过向量平移后的新几何对象。

Parameters ​

NameTypeDescription
VMx3dGeVec向量对象。

Returns ​

Mx3dGeomCurve

新的几何对象。

Inherited from ​

Mx3dGeomObject.TranslatedByVec


Value ​

▸ Value(U): Mx3dGePoint

返回给定参数 U 处的点。

Parameters ​

NameTypeDescription
Unumber参数值。

Returns ​

Mx3dGePoint

给定参数处的点对象。