Skip to content
On this page

mxcad API 文档 / 3d / MdGeCircle

Class: MdGeCircle

3d.MdGeCircle

表示一个圆。

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MdGeCircle(p1?, p2?)

Parameters

NameType
p1?object | MdGeCSYSR
p2?number

Overrides

Mx3dBaseObject.constructor

Properties

imp

Protected imp: any = 0

Inherited from

Mx3dBaseObject.imp

Methods

Area

Area(): number

Returns

number


Axis

Axis(): MdGeAxis

Returns

MdGeAxis


Contains

Contains(theP, theLinearTolerance): boolean

Parameters

NameType
thePMdGePoint
theLinearTolerancenumber

Returns

boolean


Distance

Distance(theP): number

Parameters

NameType
thePMdGePoint

Returns

number


Edge

Edge(p1?, p2?): MdGeEdge

Parameters

NameType
p1?number
p2?number

Returns

MdGeEdge


Length

Length(): number

Returns

number


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): MdGeCircle

Parameters

NameType
theA1MdGeAxis

Returns

MdGeCircle


MirroredByCSYSR

MirroredByCSYSR(theA2): MdGeCircle

Parameters

NameType
theA2MdGeCSYSR

Returns

MdGeCircle


MirroredByPoint

MirroredByPoint(theP): MdGeCircle

Parameters

NameType
thePMdGePoint

Returns

MdGeCircle


Position

Position(): MdGeCSYSR

Returns

MdGeCSYSR


Radius

Radius(): number

Returns

number


Rotate

Rotate(theA1, theAng): void

Parameters

NameType
theA1MdGeAxis
theAngnumber

Returns

void


Rotated

Rotated(theA1, theAng): MdGeCircle

Parameters

NameType
theA1MdGeAxis
theAngnumber

Returns

MdGeCircle


Scale

Scale(theP, theS): void

Parameters

NameType
thePMdGePoint
theSnumber

Returns

void


Scaled

Scaled(theP, theS): MdGeCircle

Parameters

NameType
thePMdGePoint
theSnumber

Returns

MdGeCircle


SetAxis

SetAxis(theA1): void

Parameters

NameType
theA1MdGeAxis

Returns

void


SetLocation

SetLocation(theP): void

Parameters

NameType
thePMdGePoint

Returns

void


SetPosition

SetPosition(theA2): void

Parameters

NameType
theA2MdGeCSYSR

Returns

void


SetRadius

SetRadius(theRadius): void

Parameters

NameType
theRadiusnumber

Returns

void


Shape

Shape(): MdGeShape

Returns

MdGeShape


SquareDistance

SquareDistance(theP): number

Parameters

NameType
thePMdGePoint

Returns

number


Transform

Transform(theT): void

Parameters

NameType
theTMdGeTrsf

Returns

void


Transformed

Transformed(theT): MdGeCircle

Parameters

NameType
theTMdGeTrsf

Returns

MdGeCircle


TranslateBy2Points

TranslateBy2Points(theP1, theP2): void

Parameters

NameType
theP1MdGePoint
theP2MdGePoint

Returns

void


TranslateByVec

TranslateByVec(theV): void

Parameters

NameType
theVMdGeVec

Returns

void


TranslatedBy2Points

TranslatedBy2Points(theP1, theP2): MdGeCircle

Parameters

NameType
theP1MdGePoint
theP2MdGePoint

Returns

MdGeCircle


TranslatedByVec

TranslatedByVec(theV): MdGeCircle

Parameters

NameType
theVMdGeVec

Returns

MdGeCircle


Wire

Wire(): MdGeWire

Returns

MdGeWire


XAxis

XAxis(): MdGeAxis

Returns

MdGeAxis


YAxis

YAxis(): MdGeAxis

Returns

MdGeAxis


getImp

getImp(): any

Returns

any

Inherited from

Mx3dBaseObject.getImp


initTempObject

Protected initTempObject(imp): void

Parameters

NameType
impany

Returns

void

Inherited from

Mx3dBaseObject.initTempObject