mxcad API 文档 / 3d / MdGeTorus
Class: MdGeTorus
3d.MdGeTorus
表示圆环
Hierarchy
↳
MdGeTorus
Table of contents
Constructors
Properties
Methods
- Area
- Axis
- Direct
- Face
- Location
- MajorRadius
- MinorRadius
- MirrorByAxis
- MirrorByCSYSR
- MirrorByPoint
- MirroredByAxis
- MirroredByCSYSR
- MirroredByPoint
- Position
- Rotate
- Rotated
- Scale
- Scaled
- SetAxis
- SetLocation
- SetMajorRadius
- SetMinorRadius
- SetPosition
- Shape
- Transform
- Transformed
- TranslateBy2Points
- TranslateByVec
- TranslatedBy2Points
- TranslatedByVec
- UReverse
- VReverse
- Volume
- XAxis
- YAxis
- getImp
- initTempObject
Constructors
constructor
• new MdGeTorus(p1?
, p2?
, p3?
)
Parameters
Name | Type |
---|---|
p1? | object | MdGeCSYS |
p2? | number |
p3? | number |
Overrides
Properties
imp
• Protected
imp: any
= 0
Inherited from
Methods
Area
▸ Area(): number
Returns
number
Axis
▸ Axis(): MdGeAxis
Returns
Direct
▸ Direct(): boolean
Returns
boolean
Face
▸ Face(p1?
, p2?
, p3?
, p4?
): MdGeFace
Parameters
Name | Type |
---|---|
p1? | number | MdGeWire |
p2? | number | boolean |
p3? | number |
p4? | number |
Returns
Location
▸ Location(): MdGePoint
Returns
MajorRadius
▸ MajorRadius(): number
Returns
number
MinorRadius
▸ MinorRadius(): number
Returns
number
MirrorByAxis
▸ MirrorByAxis(theA1
): void
Parameters
Name | Type |
---|---|
theA1 | MdGeAxis |
Returns
void
MirrorByCSYSR
▸ MirrorByCSYSR(theA2
): void
Parameters
Name | Type |
---|---|
theA2 | MdGeCSYSR |
Returns
void
MirrorByPoint
▸ MirrorByPoint(theP
): void
Parameters
Name | Type |
---|---|
theP | MdGePoint |
Returns
void
MirroredByAxis
▸ MirroredByAxis(theA1
): MdGeTorus
Parameters
Name | Type |
---|---|
theA1 | MdGeAxis |
Returns
MirroredByCSYSR
▸ MirroredByCSYSR(theA2
): MdGeTorus
Parameters
Name | Type |
---|---|
theA2 | MdGeCSYSR |
Returns
MirroredByPoint
▸ MirroredByPoint(theP
): MdGeTorus
Parameters
Name | Type |
---|---|
theP | MdGePoint |
Returns
Position
▸ Position(): MdGeCSYS
Returns
Rotate
▸ Rotate(theA1
, theAng
): void
Parameters
Name | Type |
---|---|
theA1 | MdGeAxis |
theAng | number |
Returns
void
Rotated
▸ Rotated(theA1
, theAng
): MdGeTorus
Parameters
Name | Type |
---|---|
theA1 | MdGeAxis |
theAng | number |
Returns
Scale
▸ Scale(theP
, theS
): void
Parameters
Name | Type |
---|---|
theP | MdGePoint |
theS | number |
Returns
void
Scaled
▸ Scaled(theP
, theS
): MdGeTorus
Parameters
Name | Type |
---|---|
theP | MdGePoint |
theS | number |
Returns
SetAxis
▸ SetAxis(theA1
): void
Parameters
Name | Type |
---|---|
theA1 | MdGeAxis |
Returns
void
SetLocation
▸ SetLocation(theLoc
): void
Parameters
Name | Type |
---|---|
theLoc | MdGePoint |
Returns
void
SetMajorRadius
▸ SetMajorRadius(theMajorRadius
): void
Parameters
Name | Type |
---|---|
theMajorRadius | number |
Returns
void
SetMinorRadius
▸ SetMinorRadius(theMinorRadius
): void
Parameters
Name | Type |
---|---|
theMinorRadius | number |
Returns
void
SetPosition
▸ SetPosition(theA3
): void
Parameters
Name | Type |
---|---|
theA3 | MdGeCSYS |
Returns
void
Shape
▸ Shape(p1?
, p2?
, p3?
): MdGeShape
Parameters
Name | Type |
---|---|
p1? | number |
p2? | number |
p3? | number |
Returns
Transform
▸ Transform(theT
): void
Parameters
Name | Type |
---|---|
theT | MdGeTrsf |
Returns
void
Transformed
▸ Transformed(theT
): MdGeTorus
Parameters
Name | Type |
---|---|
theT | MdGeTrsf |
Returns
TranslateBy2Points
▸ TranslateBy2Points(theP1
, theP2
): void
Parameters
Name | Type |
---|---|
theP1 | MdGePoint |
theP2 | MdGePoint |
Returns
void
TranslateByVec
▸ TranslateByVec(theV
): void
Parameters
Name | Type |
---|---|
theV | MdGeVec |
Returns
void
TranslatedBy2Points
▸ TranslatedBy2Points(theP1
, theP2
): MdGeTorus
Parameters
Name | Type |
---|---|
theP1 | MdGePoint |
theP2 | MdGePoint |
Returns
TranslatedByVec
▸ TranslatedByVec(theV
): MdGeTorus
Parameters
Name | Type |
---|---|
theV | MdGeVec |
Returns
UReverse
▸ UReverse(): void
Returns
void
VReverse
▸ VReverse(): void
Returns
void
Volume
▸ Volume(): number
Returns
number
XAxis
▸ XAxis(): MdGeAxis
Returns
YAxis
▸ YAxis(): MdGeAxis
Returns
getImp
▸ getImp(): any
Returns
any
Inherited from
initTempObject
▸ Protected
initTempObject(imp
): void
Parameters
Name | Type |
---|---|
imp | any |
Returns
void