mxcad API 文档 / 3d / MdGeShell
Class: MdGeShell
3d.MdGeShell
表示一个Shell形状
Hierarchy
↳
MdGeShell
Table of contents
Constructors
Properties
Methods
- Common
- Cut
- Draw
- Fuse
- GetBndBox
- GetShapeName
- IsNull
- MirrorByAxis
- MirrorByCSYSR
- MirrorByPoint
- MirroredByAxis
- MirroredByCSYSR
- MirroredByPoint
- Quantities
- Rotate
- Rotated
- Scale
- Scaled
- Section
- SetColor
- SetMaterialAspect
- SetShapeName
- SetTextureFileName
- SetTextureOrigin
- SetTextureRepeat
- SetTextureScale
- ShapeType
- TextureOrigin
- TextureRepeat
- TextureScale
- TextureScaleU
- TextureScaleV
- TextureUOrigin
- TextureVOrigin
- Transform
- Transformed
- TranslateBy2Points
- TranslateByVec
- TranslatedBy2Points
- TranslatedByVec
- URepeat
- VRepeat
- getImp
- initTempObject
Constructors
constructor
• new MdGeShell(p?
)
Parameters
Name | Type |
---|---|
p? | object |
Overrides
Properties
imp
• Protected
imp: any
= 0
Inherited from
Methods
Common
▸ Common(other
): MdGeShape
Parameters
Name | Type |
---|---|
other | MdGeShape |
Returns
Inherited from
Cut
▸ Cut(remove
): MdGeShape
Parameters
Name | Type |
---|---|
remove | MdGeShape |
Returns
Inherited from
Draw
▸ Draw(): string
Returns
string
Inherited from
Fuse
▸ Fuse(other
): MdGeShape
Parameters
Name | Type |
---|---|
other | MdGeShape |
Returns
Inherited from
GetBndBox
▸ GetBndBox(): MdGeBndBox
Returns
Inherited from
GetShapeName
▸ GetShapeName(): string
Returns
string
Inherited from
IsNull
▸ IsNull(): boolean
Returns
boolean
Inherited from
MirrorByAxis
▸ MirrorByAxis(axis
): void
Parameters
Name | Type |
---|---|
axis | MdGeAxis |
Returns
void
Inherited from
MirrorByCSYSR
▸ MirrorByCSYSR(csysr
): void
Parameters
Name | Type |
---|---|
csysr | MdGeCSYSR |
Returns
void
Inherited from
MirrorByPoint
▸ MirrorByPoint(theP
): void
Parameters
Name | Type |
---|---|
theP | MdGePoint |
Returns
void
Inherited from
MirroredByAxis
▸ MirroredByAxis(axis
): MdGeShape
Parameters
Name | Type |
---|---|
axis | MdGeAxis |
Returns
Inherited from
MirroredByCSYSR
▸ MirroredByCSYSR(csysr
): MdGeShape
Parameters
Name | Type |
---|---|
csysr | MdGeCSYSR |
Returns
Inherited from
MirroredByPoint
▸ MirroredByPoint(theP
): MdGeShape
Parameters
Name | Type |
---|---|
theP | MdGePoint |
Returns
Inherited from
Quantities
▸ Quantities(): MdGeArray1OfReal
Returns
Inherited from
Rotate
▸ Rotate(axis
, ang
): void
Parameters
Name | Type |
---|---|
axis | MdGeAxis |
ang | number |
Returns
void
Inherited from
Rotated
▸ Rotated(axis
, ang
): MdGeShape
Parameters
Name | Type |
---|---|
axis | MdGeAxis |
ang | number |
Returns
Inherited from
Scale
▸ Scale(point
, s
): void
Parameters
Name | Type |
---|---|
point | MdGePoint |
s | number |
Returns
void
Inherited from
Scaled
▸ Scaled(point
, s
): MdGeShape
Parameters
Name | Type |
---|---|
point | MdGePoint |
s | number |
Returns
Inherited from
Section
▸ Section(other
): MdGeShape
Parameters
Name | Type |
---|---|
other | MdGeShape |
Returns
Inherited from
SetColor
▸ SetColor(color
): void
Parameters
Name | Type |
---|---|
color | MdGeColor |
Returns
void
Inherited from
SetMaterialAspect
▸ SetMaterialAspect(material
): void
Parameters
Name | Type |
---|---|
material | MdGeMaterialAspect |
Returns
void
Inherited from
SetShapeName
▸ SetShapeName(theShapeName
): void
Parameters
Name | Type |
---|---|
theShapeName | string |
Returns
void
Inherited from
SetTextureFileName
▸ SetTextureFileName(path
): void
Parameters
Name | Type |
---|---|
path | string |
Returns
void
Inherited from
SetTextureOrigin
▸ SetTextureOrigin(theToSetTextureOrigin
, theUOrigin
, theVOrigin
): void
Parameters
Name | Type |
---|---|
theToSetTextureOrigin | boolean |
theUOrigin | number |
theVOrigin | number |
Returns
void
Inherited from
SetTextureRepeat
▸ SetTextureRepeat(theToRepeat
, theURepeat
, theVRepeat
): void
Parameters
Name | Type |
---|---|
theToRepeat | boolean |
theURepeat | number |
theVRepeat | number |
Returns
void
Inherited from
SetTextureScale
▸ SetTextureScale(theToSetTextureScale
, theScaleU
, theScaleV
): void
Parameters
Name | Type |
---|---|
theToSetTextureScale | boolean |
theScaleU | number |
theScaleV | number |
Returns
void
Inherited from
ShapeType
▸ ShapeType(): MxShapeEnum
Returns
Inherited from
TextureOrigin
▸ TextureOrigin(): boolean
Returns
boolean
Inherited from
TextureRepeat
▸ TextureRepeat(): boolean
Returns
boolean
Inherited from
TextureScale
▸ TextureScale(): boolean
Returns
boolean
Inherited from
TextureScaleU
▸ TextureScaleU(): number
Returns
number
Inherited from
TextureScaleV
▸ TextureScaleV(): number
Returns
number
Inherited from
TextureUOrigin
▸ TextureUOrigin(): number
Returns
number
Inherited from
TextureVOrigin
▸ TextureVOrigin(): number
Returns
number
Inherited from
Transform
▸ Transform(trsf
): void
Parameters
Name | Type |
---|---|
trsf | MdGeTrsf |
Returns
void
Inherited from
Transformed
▸ Transformed(trsf
): MdGeShape
Parameters
Name | Type |
---|---|
trsf | MdGeTrsf |
Returns
Inherited from
TranslateBy2Points
▸ TranslateBy2Points(point1
, point2
): void
Parameters
Name | Type |
---|---|
point1 | MdGePoint |
point2 | MdGePoint |
Returns
void
Inherited from
TranslateByVec
▸ TranslateByVec(vec
): void
Parameters
Name | Type |
---|---|
vec | MdGeVec |
Returns
void
Inherited from
TranslatedBy2Points
▸ TranslatedBy2Points(point1
, point2
): MdGeShape
Parameters
Name | Type |
---|---|
point1 | MdGePoint |
point2 | MdGePoint |
Returns
Inherited from
TranslatedByVec
▸ TranslatedByVec(vec
): MdGeShape
Parameters
Name | Type |
---|---|
vec | MdGeVec |
Returns
Inherited from
URepeat
▸ URepeat(): number
Returns
number
Inherited from
VRepeat
▸ VRepeat(): number
Returns
number
Inherited from
getImp
▸ getImp(): any
Returns
any
Inherited from
initTempObject
▸ Protected
initTempObject(imp
): void
Parameters
Name | Type |
---|---|
imp | any |
Returns
void