返回介绍

指南

MxCAD API 文档

3d.MdGePoint

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

mxcad API 文档 / 3d / MdGePoint

Class: MdGePoint

3d.MdGePoint

表示一个点。

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MdGePoint(p1?, p2?, p3?)

Parameters

NameType
p1?number \object
p2?number
p3?number

Overrides

MdGeObject.constructor

Properties

imp

Protected imp: any = 0

Inherited from

MdGeObject.imp

Methods

BaryCenter

BaryCenter(alpha, point, beta): void

Parameters

NameType
alphanumber
pointMdGePoint
betanumber

Returns

void


Distance

Distance(other): number

Parameters

NameType
otherMdGePoint

Returns

number


IsEqual

IsEqual(other, linearTolerance): boolean

Parameters

NameType
otherMdGePoint
linearTolerancenumber

Returns

boolean


MirrorByAxis

MirrorByAxis(axis): void

Parameters

NameType
axisMdGeAxis

Returns

void


MirrorByCSYSR

MirrorByCSYSR(csysr): void

Parameters

NameType
csysrMdGeCSYSR

Returns

void


MirrorByPoint

MirrorByPoint(point): void

Parameters

NameType
pointMdGePoint

Returns

void


MirroredByAxis

MirroredByAxis(axis): MdGePoint

Parameters

NameType
axisMdGeAxis

Returns

MdGePoint


MirroredByCSYSR

MirroredByCSYSR(csysr): MdGePoint

Parameters

NameType
csysrMdGeCSYSR

Returns

MdGePoint


MirroredByPoint

MirroredByPoint(point): MdGePoint

Parameters

NameType
pointMdGePoint

Returns

MdGePoint


Rotate

Rotate(axis, ang): void

Parameters

NameType
axisMdGeAxis
angnumber

Returns

void


Rotated

Rotated(axis, ang): MdGePoint

Parameters

NameType
axisMdGeAxis
angnumber

Returns

MdGePoint


Scale

Scale(point, s): void

Parameters

NameType
pointMdGePoint
snumber

Returns

void


Scaled

Scaled(point, s): MdGePoint

Parameters

NameType
pointMdGePoint
snumber

Returns

MdGePoint


SetX

SetX(x): void

Parameters

NameType
xnumber

Returns

void


SetXYZ

SetXYZ(x, y, z): void

Parameters

NameType
xnumber
ynumber
znumber

Returns

void


SetY

SetY(y): void

Parameters

NameType
ynumber

Returns

void


SetZ

SetZ(z): void

Parameters

NameType
znumber

Returns

void


Shape

Shape(): MdGeShape

Returns

MdGeShape


SquareDistance

SquareDistance(other): number

Parameters

NameType
otherMdGePoint

Returns

number


Transform

Transform(trsf): void

Parameters

NameType
trsfMdGeTrsf

Returns

void


Transformed

Transformed(trsf): MdGePoint

Parameters

NameType
trsfMdGeTrsf

Returns

MdGePoint


TranslateBy2Points

TranslateBy2Points(point1, point2): void

Parameters

NameType
point1MdGePoint
point2MdGePoint

Returns

void


TranslateByVec

TranslateByVec(vec): void

Parameters

NameType
vecMdGeVec

Returns

void


TranslatedBy2Points

TranslatedBy2Points(point1, point2): MdGePoint

Parameters

NameType
point1MdGePoint
point2MdGePoint

Returns

MdGePoint


TranslatedByVec

TranslatedByVec(vec): MdGePoint

Parameters

NameType
vecMdGeVec

Returns

MdGePoint


Vertex

Vertex(): MdGeVertex

Returns

MdGeVertex


X

X(): number

Returns

number


Y

Y(): number

Returns

number


Z

Z(): 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 和您的相关数据。
    原文