返回介绍

指南

MxCAD API 文档

3d.MdGeShape

发布于 2024-07-31 21:39:59 字数 21146 浏览 0 评论 0 收藏 0

mxcad API 文档 / 3d / MdGeShape

Class: MdGeShape

3d.MdGeShape

表示一个形状

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MdGeShape(p?)

Parameters

NameType
p?object

Overrides

MdGeObject.constructor

Properties

imp

Protected imp: any = 0

Inherited from

MdGeObject.imp

Methods

Common

Common(other): MdGeShape

Parameters

NameType
otherMdGeShape

Returns

MdGeShape


Cut

Cut(remove): MdGeShape

Parameters

NameType
removeMdGeShape

Returns

MdGeShape


Draw

Draw(): void

Returns

void


Fuse

Fuse(other): MdGeShape

Parameters

NameType
otherMdGeShape

Returns

MdGeShape


IsNull

IsNull(): boolean

Returns

boolean


MirrorByAxis

MirrorByAxis(axis): void

Parameters

NameType
axisMdGeAxis

Returns

void


MirrorByCSYSR

MirrorByCSYSR(csysr): void

Parameters

NameType
csysrMdGeCSYSR

Returns

void


MirrorByPoint

MirrorByPoint(theP): void

Parameters

NameType
thePMdGePoint

Returns

void


MirroredByAxis

MirroredByAxis(axis): MdGeShape

Parameters

NameType
axisMdGeAxis

Returns

MdGeShape


MirroredByCSYSR

MirroredByCSYSR(csysr): MdGeShape

Parameters

NameType
csysrMdGeCSYSR

Returns

MdGeShape


MirroredByPoint

MirroredByPoint(theP): MdGeShape

Parameters

NameType
thePMdGePoint

Returns

MdGeShape


Quantities

Quantities(): MdGeArray1OfReal

Returns

MdGeArray1OfReal


Rotate

Rotate(axis, ang): void

Parameters

NameType
axisMdGeAxis
angnumber

Returns

void


Rotated

Rotated(axis, ang): MdGeShape

Parameters

NameType
axisMdGeAxis
angnumber

Returns

MdGeShape


Scale

Scale(point, s): void

Parameters

NameType
pointMdGePoint
snumber

Returns

void


Scaled

Scaled(point, s): MdGeShape

Parameters

NameType
pointMdGePoint
snumber

Returns

MdGeShape


Section

Section(other): MdGeShape

Parameters

NameType
otherMdGeShape

Returns

MdGeShape


SetColor

SetColor(color): void

Parameters

NameType
colorMdGeColor

Returns

void


SetMaterialAspect

SetMaterialAspect(material): void

Parameters

NameType
materialMdGeMaterialAspect

Returns

void


SetTextureFileName

SetTextureFileName(path): void

Parameters

NameType
pathstring

Returns

void


SetTextureOrigin

SetTextureOrigin(theToSetTextureOrigin, theUOrigin, theVOrigin): void

Parameters

NameType
theToSetTextureOriginboolean
theUOriginnumber
theVOriginnumber

Returns

void


SetTextureRepeat

SetTextureRepeat(theToRepeat, theURepeat, theVRepeat): void

Parameters

NameType
theToRepeatboolean
theURepeatnumber
theVRepeatnumber

Returns

void


SetTextureScale

SetTextureScale(theToSetTextureScale, theScaleU, theScaleV): void

Parameters

NameType
theToSetTextureScaleboolean
theScaleUnumber
theScaleVnumber

Returns

void


ShapeType

ShapeType(): MxShapeEnum

Returns

MxShapeEnum


TextureOrigin

TextureOrigin(): boolean

Returns

boolean


TextureRepeat

TextureRepeat(): boolean

Returns

boolean


TextureScale

TextureScale(): boolean

Returns

boolean


TextureScaleU

TextureScaleU(): number

Returns

number


TextureScaleV

TextureScaleV(): number

Returns

number


TextureUOrigin

TextureUOrigin(): number

Returns

number


TextureVOrigin

TextureVOrigin(): number

Returns

number


Transform

Transform(trsf): void

Parameters

NameType
trsfMdGeTrsf

Returns

void


Transformed

Transformed(trsf): MdGeShape

Parameters

NameType
trsfMdGeTrsf

Returns

MdGeShape


TranslateBy2Points

TranslateBy2Points(point1, point2): void

Parameters

NameType
point1MdGePoint
point2MdGePoint

Returns

void


TranslateByVec

TranslateByVec(vec): void

Parameters

NameType
vecMdGeVec

Returns

void


TranslatedBy2Points

TranslatedBy2Points(point1, point2): MdGeShape

Parameters

NameType
point1MdGePoint
point2MdGePoint

Returns

MdGeShape


TranslatedByVec

TranslatedByVec(vec): MdGeShape

Parameters

NameType
vecMdGeVec

Returns

MdGeShape


URepeat

URepeat(): number

Returns

number


VRepeat

VRepeat(): number

Returns

number


getImp

getImp(): any

Returns

any

Inherited from

MdGeObject.getImp


initTempObject

Protected initTempObject(imp): void

Parameters

NameType
impany

Returns

void

Inherited from

MdGeObject.initTempObject

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文