[mxcad_3d API Document](../README. md)/Mx3dGeomSounddSurface
Class: Mx3dGeomBoundedSurface
Represents the base class of a surface within a certain range.
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
Return the dynamic type string of the object.
Returns
string
Dynamic type string.
Overrides
MirrorByAxis
▸ MirrorByAxis(A1
): void
Mirror transform geometric objects through axes.
Parameters
Name | Type | Description |
---|---|---|
A1 | [Mx3dGeAxis] (Mx3dGeAxis. md) | Axis object |
Returns
void
Inherited from
MirrorByCSYSR
▸ MirrorByCSYSR(A2
): void
Mirror transform geometric objects using a right-handed coordinate system.
Parameters
Name | Type | Description |
---|---|---|
A2 | [Mx3dGeCSYSR] (Mx3dGeCSYSR. md) | Right hand coordinate system object |
Returns
void
Inherited from
MirrorByPoint
▸ MirrorByPoint(P
): void
Mirror transform geometric objects through points.
Parameters
Name | Type | Description |
---|---|---|
P | [Mx3dGePoint] (Mx3dGePoint. md) | Point object |
Returns
void
Inherited from
MirroredByAxis
▸ MirroredByAxis(A1
): Mx3dGeomBoundedSurface
Return the new geometric object transformed through axis mirroring.
Parameters
Name | Type | Description |
---|---|---|
A1 | [Mx3dGeAxis] (Mx3dGeAxis. md) | Axis object |
Returns
New geometric objects.
Inherited from
Mx3dGeomSurface.MirroredByAxis
MirroredByCSYSR
▸ MirroredByCSYSR(A2
): Mx3dGeomBoundedSurface
Return the new geometric object after mirror transformation through the right-handed coordinate system.
Parameters
Name | Type | Description |
---|---|---|
A2 | [Mx3dGeCSYSR] (Mx3dGeCSYSR. md) | Right hand coordinate system object |
Returns
New geometric objects.
Inherited from
Mx3dGeomSurface.MirroredByCSYSR
MirroredByPoint
▸ MirroredByPoint(P
): Mx3dGeomBoundedSurface
Return the new geometric object after point mirror transformation.
Parameters
Name | Type | Description |
---|---|---|
P | [Mx3dGePoint] (Mx3dGePoint. md) | Point object |
Returns
New geometric objects.
Inherited from
Mx3dGeomSurface.MirroredByPoint
Rotate
▸ Rotate(A1
, Ang
): void
Rotate geometric objects.
Parameters
Name | Type | Description |
---|---|---|
A1 | [Mx3dGeAxis] (Mx3dGeAxis. md) | Axis object |
Ang | number | Rotation angle |
Returns
void
Inherited from
Rotated
▸ Rotated(A1
, Ang
): Mx3dGeomBoundedSurface
Return the rotated new geometric object.
Parameters
Name | Type | Description |
---|---|---|
A1 | [Mx3dGeAxis] (Mx3dGeAxis. md) | Axis object |
Ang | number | Rotation angle |
Returns
New geometric objects.
Inherited from
Scale
▸ Scale(P
, S
): void
Scale geometric objects.
Parameters
Name | Type | Description |
---|---|---|
P | [Mx3dGePoint] (Mx3dGePoint. md) | Point object |
S | number | scaling ratio |
Returns
void
Inherited from
Scaled
▸ Scaled(P
, S
): Mx3dGeomBoundedSurface
Return the scaled new geometric object.
Parameters
Name | Type | Description |
---|---|---|
P | [Mx3dGePoint] (Mx3dGePoint. md) | Point object |
S | number | scaling ratio |
Returns
New geometric objects.
Inherited from
TransformParameters
▸ TransformParameters(UV
, T
): void
Transform the surface parameters according to the given transformation matrix T.
Parameters
Name | Type | Description |
---|---|---|
UV | [dU: number, dV: number] | Parameter array containing the values of U and V |
T | [Mx3dGetStrf] (Mx3dGetStrf. md) | Transform matrix |
Returns
void
Inherited from
Mx3dGeomSurface.TransformParameters
Transformed
▸ Transformed(T
): Mx3dGeomBoundedSurface
Return the transformed new geometric object.
Parameters
Name | Type | Description |
---|---|---|
T | [Mx3dGetStrf] (Mx3dGetStrf. md) | Transform the object |
Returns
New geometric objects.
Inherited from
TranslateBy2Points
▸ TranslateBy2Points(P1
, P2
): void
Translate geometric objects through two points.
Parameters
Name | Type | Description |
---|---|---|
P1 | [Mx3dGePoint] (Mx3dGePoint. md) | Starting point object |
P2 | [Mx3dGePoint] (Mx3dGePoint. md) | End point object |
Returns
void
Inherited from
Mx3dGeomSurface.TranslateBy2Points
TranslateByVec
▸ TranslateByVec(V
): void
Translate geometric objects through vectors.
Parameters
Name | Type | Description |
---|---|---|
V | [Mx3dGeVec] (Mx3dGeVec. md) | Vector object |
Returns
void
Inherited from
Mx3dGeomSurface.TranslateByVec
TranslatedBy2Points
▸ TranslatedBy2Points(P1
, P2
): Mx3dGeomBoundedSurface
Return the new geometric object after translating through two points.
Parameters
Name | Type | Description |
---|---|---|
P1 | [Mx3dGePoint] (Mx3dGePoint. md) | Starting point object |
P2 | [Mx3dGePoint] (Mx3dGePoint. md) | End point object |
Returns
New geometric objects.
Inherited from
Mx3dGeomSurface.TranslatedBy2Points
TranslatedByVec
▸ TranslatedByVec(V
): Mx3dGeomBoundedSurface
Return the new geometric object after vector translation.
Parameters
Name | Type | Description |
---|---|---|
V | [Mx3dGeVec] (Mx3dGeVec. md) | Vector object |
Returns
New geometric objects.
Inherited from
Mx3dGeomSurface.TranslatedByVec
UPeriod
▸ UPeriod(): number
Return the period of the surface in the U direction.
Returns
number
The period of the surface in the U direction.
Inherited from
UReversed
▸ UReversed(): Mx3dGeomBoundedSurface
Parameterization of reversing the U direction.
Returns
Return the current object to implement a chain call.
Inherited from
VPeriod
▸ VPeriod(): number
Return the period of the surface in the V direction.
Returns
number
The period of the surface in the V direction.
Inherited from
VReversed
▸ VReversed(): Mx3dGeomBoundedSurface
Parameterization of reversing the V direction.
Returns
Return the current object to implement a chain call.
Inherited from
Value
▸ Value(U
, V
): Mx3dGePoint
Calculate the points on the surface corresponding to the parameters (U, V).
Parameters
Name | Type | Description |
---|---|---|
U | number | Surface parameter U |
V | number | Surface parameter V |
Returns
Corresponding point.