mxcad API 文档 / 3d / MdGeSphere
Class: MdGeSphere
3d.MdGeSphere
表示一个球体
Hierarchy
↳
MdGeSphere
Table of contents
Constructors
Properties
Methods
- Area
- Direct
- Face
- Location
- MirrorByAxis
- MirrorByCSYSR
- MirrorByPoint
- MirroredByAxis
- MirroredByCSYSR
- MirroredByPoint
- Position
- Radius
- Rotate
- Rotated
- Scale
- Scaled
- SetLocation
- SetPosition
- SetRadius
- Shape
- Transform
- Transformed
- TranslateBy2Points
- TranslateByVec
- TranslatedBy2Points
- TranslatedByVec
- UReverse
- VReverse
- Volume
- XAxis
- YAxis
- getImp
- initTempObject
Constructors
constructor
• new MdGeSphere(p1?
, p2?
, p3?
, p4?
)
Parameters
Name | Type |
---|---|
p1? | number | object | MdGeCSYS |
p2? | number |
p3? | number |
p4? | number |
Overrides
Properties
imp
• Protected
imp: any
= 0
Inherited from
Methods
Area
▸ Area(): number
Returns
number
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
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
): MdGeSphere
Parameters
Name | Type |
---|---|
theA1 | MdGeAxis |
Returns
MirroredByCSYSR
▸ MirroredByCSYSR(theA2
): MdGeSphere
Parameters
Name | Type |
---|---|
theA2 | MdGeCSYSR |
Returns
MirroredByPoint
▸ MirroredByPoint(theP
): MdGeSphere
Parameters
Name | Type |
---|---|
theP | MdGePoint |
Returns
Position
▸ Position(): MdGeCSYS
Returns
Radius
▸ Radius(): number
Returns
number
Rotate
▸ Rotate(theA1
, theAng
): void
Parameters
Name | Type |
---|---|
theA1 | MdGeAxis |
theAng | number |
Returns
void
Rotated
▸ Rotated(theA1
, theAng
): MdGeSphere
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
): MdGeSphere
Parameters
Name | Type |
---|---|
theP | MdGePoint |
theS | number |
Returns
SetLocation
▸ SetLocation(theLoc
): void
Parameters
Name | Type |
---|---|
theLoc | MdGePoint |
Returns
void
SetPosition
▸ SetPosition(theA3
): void
Parameters
Name | Type |
---|---|
theA3 | MdGeCSYS |
Returns
void
SetRadius
▸ SetRadius(theR
): void
Parameters
Name | Type |
---|---|
theR | number |
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
): MdGeSphere
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
): MdGeSphere
Parameters
Name | Type |
---|---|
theP1 | MdGePoint |
theP2 | MdGePoint |
Returns
TranslatedByVec
▸ TranslatedByVec(theV
): MdGeSphere
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