返回介绍

指南

MxCAD API 文档

MdGePlane

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

mxcad API 文档 / MdGePlane

Class: MdGePlane

表示一个平面

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MdGePlane(p1?, p2?, p3?, p4?)

Parameters

NameType
p1?number \object \MdGePoint \MdGeCSYS
p2?number \MdGeDir
p3?number
p4?number

Overrides

MdGeObject.constructor

Properties

imp

Protected imp: any = 0

Inherited from

MdGeObject.imp

Methods

Axis

Axis(): MdGeAxis

Returns

MdGeAxis


Contains

Contains(theP, theLinearTolerance): boolean

Parameters

NameType
thePMdGePoint
theLinearTolerancenumber

Returns

boolean


Direct

Direct(): boolean

Returns

boolean


DistanceToPlane

DistanceToPlane(theOther): number

Parameters

NameType
theOtherMdGePlane

Returns

number


DistanceToPoint

DistanceToPoint(theP): number

Parameters

NameType
thePMdGePoint

Returns

number


Face

Face(p1?, p2?, p3?, p4?): MdGeFace

Parameters

NameType
p1?number \MdGeWire
p2?number \boolean
p3?number
p4?number

Returns

MdGeFace


Location

Location(): MdGePoint

Returns

MdGePoint


MirrorByAxis

MirrorByAxis(theA1): void

Parameters

NameType
theA1MdGeAxis

Returns

void


MirrorByCSYSR

MirrorByCSYSR(theA2): void

Parameters

NameType
theA2MdGeCSYSR

Returns

void


MirrorByPoint

MirrorByPoint(theP): void

Parameters

NameType
thePMdGePoint

Returns

void


MirroredByAxis

MirroredByAxis(theA1): MdGePlane

Parameters

NameType
theA1MdGeAxis

Returns

MdGePlane


MirroredByCSYSR

MirroredByCSYSR(theA2): MdGePlane

Parameters

NameType
theA2MdGeCSYSR

Returns

MdGePlane


MirroredByPoint

MirroredByPoint(theP): MdGePlane

Parameters

NameType
thePMdGePoint

Returns

MdGePlane


Position

Position(): MdGeCSYS

Returns

MdGeCSYS


Rotate

Rotate(theA1, theAng): void

Parameters

NameType
theA1MdGeAxis
theAngnumber

Returns

void


Rotated

Rotated(theA1, theAng): MdGePlane

Parameters

NameType
theA1MdGeAxis
theAngnumber

Returns

MdGePlane


Scale

Scale(theP, theS): void

Parameters

NameType
thePMdGePoint
theSnumber

Returns

void


Scaled

Scaled(theP, theS): MdGePlane

Parameters

NameType
thePMdGePoint
theSnumber

Returns

MdGePlane


SetAxis

SetAxis(theA1): void

Parameters

NameType
theA1MdGeAxis

Returns

void


SetLocation

SetLocation(theLoc): void

Parameters

NameType
theLocMdGePoint

Returns

void


SetPosition

SetPosition(theA3): void

Parameters

NameType
theA3MdGeCSYS

Returns

void


SquareDistanceToPlane

SquareDistanceToPlane(theOther): number

Parameters

NameType
theOtherMdGePlane

Returns

number


SquareDistanceToPoint

SquareDistanceToPoint(theP): number

Parameters

NameType
thePMdGePoint

Returns

number


Transform

Transform(theT): void

Parameters

NameType
theTMdGeTrsf

Returns

void


Transformed

Transformed(theT): MdGePlane

Parameters

NameType
theTMdGeTrsf

Returns

MdGePlane


TranslateBy2Points

TranslateBy2Points(theP1, theP2): void

Parameters

NameType
theP1MdGePoint
theP2MdGePoint

Returns

void


TranslateByVec

TranslateByVec(theV): void

Parameters

NameType
theVMdGeVec

Returns

void


TranslatedBy2Points

TranslatedBy2Points(theP1, theP2): MdGePlane

Parameters

NameType
theP1MdGePoint
theP2MdGePoint

Returns

MdGePlane


TranslatedByVec

TranslatedByVec(theV): MdGePlane

Parameters

NameType
theVMdGeVec

Returns

MdGePlane


UReverse

UReverse(): void

Returns

void


VReverse

VReverse(): void

Returns

void


XAxis

XAxis(): MdGeAxis

Returns

MdGeAxis


YAxis

YAxis(): MdGeAxis

Returns

MdGeAxis


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