mxcad_3d API 文档 / Mx3dGeomBoundedSurface
Class: Mx3dGeomBoundedSurface 
表示一定范围内曲面的基类。
Hierarchy 
- ↳ - Mx3dGeomBoundedSurface
Table of contents 
Methods 
- DynCast
- DynamicType
- MirrorByAxis
- MirrorByCSYSR
- MirrorByPoint
- MirroredByAxis
- MirroredByCSYSR
- MirroredByPoint
- Rotate
- Rotated
- Scale
- Scaled
- TransformParameters
- Transformed
- TranslateBy2Points
- TranslateByVec
- TranslatedBy2Points
- TranslatedByVec
- UPeriod
- UReversed
- VPeriod
- VReversed
- Value
Methods 
DynCast 
▸ DynCast(theObject): Mx3dGeomBoundedSurface
Parameters 
| Name | Type | 
|---|---|
| theObject | Mx3dGeomObject | 
Returns 
Inherited from 
DynamicType 
▸ DynamicType(): string
返回对象的动态类型字符串。
Returns 
string
动态类型字符串。
Overrides 
MirrorByAxis 
▸ MirrorByAxis(A1): void
通过轴对几何对象进行镜像变换。
Parameters 
| Name | Type | Description | 
|---|---|---|
| A1 | Mx3dGeAxis | 轴对象。 | 
Returns 
void
Inherited from 
MirrorByCSYSR 
▸ MirrorByCSYSR(A2): void
通过右手坐标系对几何对象进行镜像变换。
Parameters 
| Name | Type | Description | 
|---|---|---|
| A2 | Mx3dGeCSYSR | 右手坐标系对象。 | 
Returns 
void
Inherited from 
MirrorByPoint 
▸ MirrorByPoint(P): void
通过点对几何对象进行镜像变换。
Parameters 
| Name | Type | Description | 
|---|---|---|
| P | Mx3dGePoint | 点对象。 | 
Returns 
void
Inherited from 
MirroredByAxis 
▸ MirroredByAxis(A1): Mx3dGeomBoundedSurface
返回通过轴镜像变换后的新几何对象。
Parameters 
| Name | Type | Description | 
|---|---|---|
| A1 | Mx3dGeAxis | 轴对象。 | 
Returns 
新的几何对象。
Inherited from 
Mx3dGeomSurface.MirroredByAxis
MirroredByCSYSR 
▸ MirroredByCSYSR(A2): Mx3dGeomBoundedSurface
返回通过右手坐标系镜像变换后的新几何对象。
Parameters 
| Name | Type | Description | 
|---|---|---|
| A2 | Mx3dGeCSYSR | 右手坐标系对象。 | 
Returns 
新的几何对象。
Inherited from 
Mx3dGeomSurface.MirroredByCSYSR
MirroredByPoint 
▸ MirroredByPoint(P): Mx3dGeomBoundedSurface
返回通过点镜像变换后的新几何对象。
Parameters 
| Name | Type | Description | 
|---|---|---|
| P | Mx3dGePoint | 点对象。 | 
Returns 
新的几何对象。
Inherited from 
Mx3dGeomSurface.MirroredByPoint
Rotate 
▸ Rotate(A1, Ang): void
旋转几何对象。
Parameters 
| Name | Type | Description | 
|---|---|---|
| A1 | Mx3dGeAxis | 轴对象。 | 
| Ang | number | 旋转角度。 | 
Returns 
void
Inherited from 
Rotated 
▸ Rotated(A1, Ang): Mx3dGeomBoundedSurface
返回旋转后的新几何对象。
Parameters 
| Name | Type | Description | 
|---|---|---|
| A1 | Mx3dGeAxis | 轴对象。 | 
| Ang | number | 旋转角度。 | 
Returns 
新的几何对象。
Inherited from 
Scale 
▸ Scale(P, S): void
缩放几何对象。
Parameters 
| Name | Type | Description | 
|---|---|---|
| P | Mx3dGePoint | 点对象。 | 
| S | number | 缩放比例。 | 
Returns 
void
Inherited from 
Scaled 
▸ Scaled(P, S): Mx3dGeomBoundedSurface
返回缩放后的新几何对象。
Parameters 
| Name | Type | Description | 
|---|---|---|
| P | Mx3dGePoint | 点对象。 | 
| S | number | 缩放比例。 | 
Returns 
新的几何对象。
Inherited from 
TransformParameters 
▸ TransformParameters(UV, T): void
根据给定的变换矩阵 T 变换表面参数。
Parameters 
| Name | Type | Description | 
|---|---|---|
| UV | [dU: number, dV: number] | 参数数组,包含 U 和 V 的值。 | 
| T | Mx3dGeTrsf | 变换矩阵。 | 
Returns 
void
Inherited from 
Mx3dGeomSurface.TransformParameters
Transformed 
▸ Transformed(T): Mx3dGeomBoundedSurface
返回变换后的新几何对象。
Parameters 
| Name | Type | Description | 
|---|---|---|
| T | Mx3dGeTrsf | 变换对象。 | 
Returns 
新的几何对象。
Inherited from 
TranslateBy2Points 
▸ TranslateBy2Points(P1, P2): void
通过两个点平移几何对象。
Parameters 
| Name | Type | Description | 
|---|---|---|
| P1 | Mx3dGePoint | 起始点对象。 | 
| P2 | Mx3dGePoint | 终止点对象。 | 
Returns 
void
Inherited from 
Mx3dGeomSurface.TranslateBy2Points
TranslateByVec 
▸ TranslateByVec(V): void
通过向量平移几何对象。
Parameters 
| Name | Type | Description | 
|---|---|---|
| V | Mx3dGeVec | 向量对象。 | 
Returns 
void
Inherited from 
Mx3dGeomSurface.TranslateByVec
TranslatedBy2Points 
▸ TranslatedBy2Points(P1, P2): Mx3dGeomBoundedSurface
返回通过两个点平移后的新几何对象。
Parameters 
| Name | Type | Description | 
|---|---|---|
| P1 | Mx3dGePoint | 起始点对象。 | 
| P2 | Mx3dGePoint | 终止点对象。 | 
Returns 
新的几何对象。
Inherited from 
Mx3dGeomSurface.TranslatedBy2Points
TranslatedByVec 
▸ TranslatedByVec(V): Mx3dGeomBoundedSurface
返回通过向量平移后的新几何对象。
Parameters 
| Name | Type | Description | 
|---|---|---|
| V | Mx3dGeVec | 向量对象。 | 
Returns 
新的几何对象。
Inherited from 
Mx3dGeomSurface.TranslatedByVec
UPeriod 
▸ UPeriod(): number
返回表面在 U 方向的周期。
Returns 
number
表面在 U 方向的周期。
Inherited from 
UReversed 
▸ UReversed(): Mx3dGeomBoundedSurface
反转 U 方向的参数化。
Returns 
返回当前对象以实现链式调用。
Inherited from 
VPeriod 
▸ VPeriod(): number
返回表面在 V 方向的周期。
Returns 
number
表面在 V 方向的周期。
Inherited from 
VReversed 
▸ VReversed(): Mx3dGeomBoundedSurface
反转 V 方向的参数化。
Returns 
返回当前对象以实现链式调用。
Inherited from 
Value 
▸ Value(U, V): Mx3dGePoint
计算参数 (U, V) 对应的表面上的点。
Parameters 
| Name | Type | Description | 
|---|---|---|
| U | number | 表面参数 U。 | 
| V | number | 表面参数 V。 | 
Returns 
对应的点。