Skip to content
On this page

mxcad API 文档 / 3d / MdGeCompSolid

Class: MdGeCompSolid

3d.MdGeCompSolid

表示一个CompSolid形状

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MdGeCompSolid(p?)

Parameters

NameType
p?object

Overrides

MdGeShape.constructor

Properties

imp

Protected imp: any = 0

Inherited from

MdGeShape.imp

Methods

Common

Common(other): MdGeShape

Parameters

NameType
otherMdGeShape

Returns

MdGeShape

Inherited from

MdGeShape.Common


Cut

Cut(remove): MdGeShape

Parameters

NameType
removeMdGeShape

Returns

MdGeShape

Inherited from

MdGeShape.Cut


Draw

Draw(): string

Returns

string

Inherited from

MdGeShape.Draw


Fuse

Fuse(other): MdGeShape

Parameters

NameType
otherMdGeShape

Returns

MdGeShape

Inherited from

MdGeShape.Fuse


GetBndBox

GetBndBox(): MdGeBndBox

Returns

MdGeBndBox

Inherited from

MdGeShape.GetBndBox


GetShapeName

GetShapeName(): string

Returns

string

Inherited from

MdGeShape.GetShapeName


IsNull

IsNull(): boolean

Returns

boolean

Inherited from

MdGeShape.IsNull


MirrorByAxis

MirrorByAxis(axis): void

Parameters

NameType
axisMdGeAxis

Returns

void

Inherited from

MdGeShape.MirrorByAxis


MirrorByCSYSR

MirrorByCSYSR(csysr): void

Parameters

NameType
csysrMdGeCSYSR

Returns

void

Inherited from

MdGeShape.MirrorByCSYSR


MirrorByPoint

MirrorByPoint(theP): void

Parameters

NameType
thePMdGePoint

Returns

void

Inherited from

MdGeShape.MirrorByPoint


MirroredByAxis

MirroredByAxis(axis): MdGeShape

Parameters

NameType
axisMdGeAxis

Returns

MdGeShape

Inherited from

MdGeShape.MirroredByAxis


MirroredByCSYSR

MirroredByCSYSR(csysr): MdGeShape

Parameters

NameType
csysrMdGeCSYSR

Returns

MdGeShape

Inherited from

MdGeShape.MirroredByCSYSR


MirroredByPoint

MirroredByPoint(theP): MdGeShape

Parameters

NameType
thePMdGePoint

Returns

MdGeShape

Inherited from

MdGeShape.MirroredByPoint


Quantities

Quantities(): MdGeArray1OfReal

Returns

MdGeArray1OfReal

Inherited from

MdGeShape.Quantities


Rotate

Rotate(axis, ang): void

Parameters

NameType
axisMdGeAxis
angnumber

Returns

void

Inherited from

MdGeShape.Rotate


Rotated

Rotated(axis, ang): MdGeShape

Parameters

NameType
axisMdGeAxis
angnumber

Returns

MdGeShape

Inherited from

MdGeShape.Rotated


Scale

Scale(point, s): void

Parameters

NameType
pointMdGePoint
snumber

Returns

void

Inherited from

MdGeShape.Scale


Scaled

Scaled(point, s): MdGeShape

Parameters

NameType
pointMdGePoint
snumber

Returns

MdGeShape

Inherited from

MdGeShape.Scaled


Section

Section(other): MdGeShape

Parameters

NameType
otherMdGeShape

Returns

MdGeShape

Inherited from

MdGeShape.Section


SetColor

SetColor(color): void

Parameters

NameType
colorMdGeColor

Returns

void

Inherited from

MdGeShape.SetColor


SetMaterialAspect

SetMaterialAspect(material): void

Parameters

NameType
materialMdGeMaterialAspect

Returns

void

Inherited from

MdGeShape.SetMaterialAspect


SetShapeName

SetShapeName(theShapeName): void

Parameters

NameType
theShapeNamestring

Returns

void

Inherited from

MdGeShape.SetShapeName


SetTextureFileName

SetTextureFileName(path): void

Parameters

NameType
pathstring

Returns

void

Inherited from

MdGeShape.SetTextureFileName


SetTextureOrigin

SetTextureOrigin(theToSetTextureOrigin, theUOrigin, theVOrigin): void

Parameters

NameType
theToSetTextureOriginboolean
theUOriginnumber
theVOriginnumber

Returns

void

Inherited from

MdGeShape.SetTextureOrigin


SetTextureRepeat

SetTextureRepeat(theToRepeat, theURepeat, theVRepeat): void

Parameters

NameType
theToRepeatboolean
theURepeatnumber
theVRepeatnumber

Returns

void

Inherited from

MdGeShape.SetTextureRepeat


SetTextureScale

SetTextureScale(theToSetTextureScale, theScaleU, theScaleV): void

Parameters

NameType
theToSetTextureScaleboolean
theScaleUnumber
theScaleVnumber

Returns

void

Inherited from

MdGeShape.SetTextureScale


ShapeType

ShapeType(): MxShapeEnum

Returns

MxShapeEnum

Inherited from

MdGeShape.ShapeType


TextureOrigin

TextureOrigin(): boolean

Returns

boolean

Inherited from

MdGeShape.TextureOrigin


TextureRepeat

TextureRepeat(): boolean

Returns

boolean

Inherited from

MdGeShape.TextureRepeat


TextureScale

TextureScale(): boolean

Returns

boolean

Inherited from

MdGeShape.TextureScale


TextureScaleU

TextureScaleU(): number

Returns

number

Inherited from

MdGeShape.TextureScaleU


TextureScaleV

TextureScaleV(): number

Returns

number

Inherited from

MdGeShape.TextureScaleV


TextureUOrigin

TextureUOrigin(): number

Returns

number

Inherited from

MdGeShape.TextureUOrigin


TextureVOrigin

TextureVOrigin(): number

Returns

number

Inherited from

MdGeShape.TextureVOrigin


Transform

Transform(trsf): void

Parameters

NameType
trsfMdGeTrsf

Returns

void

Inherited from

MdGeShape.Transform


Transformed

Transformed(trsf): MdGeShape

Parameters

NameType
trsfMdGeTrsf

Returns

MdGeShape

Inherited from

MdGeShape.Transformed


TranslateBy2Points

TranslateBy2Points(point1, point2): void

Parameters

NameType
point1MdGePoint
point2MdGePoint

Returns

void

Inherited from

MdGeShape.TranslateBy2Points


TranslateByVec

TranslateByVec(vec): void

Parameters

NameType
vecMdGeVec

Returns

void

Inherited from

MdGeShape.TranslateByVec


TranslatedBy2Points

TranslatedBy2Points(point1, point2): MdGeShape

Parameters

NameType
point1MdGePoint
point2MdGePoint

Returns

MdGeShape

Inherited from

MdGeShape.TranslatedBy2Points


TranslatedByVec

TranslatedByVec(vec): MdGeShape

Parameters

NameType
vecMdGeVec

Returns

MdGeShape

Inherited from

MdGeShape.TranslatedByVec


URepeat

URepeat(): number

Returns

number

Inherited from

MdGeShape.URepeat


VRepeat

VRepeat(): number

Returns

number

Inherited from

MdGeShape.VRepeat


getImp

getImp(): any

Returns

any

Inherited from

MdGeShape.getImp


initTempObject

Protected initTempObject(imp): void

Parameters

NameType
impany

Returns

void

Inherited from

MdGeShape.initTempObject