Skip to content
On this page

mxcad API 文档 / 3d / MdGeCone

Class: MdGeCone

3d.MdGeCone

表示一个圆锥

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

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

Parameters

NameType
p1?object | MdGeCSYS
p2?number
p3?number

Overrides

Mx3dBaseObject.constructor

Properties

imp

Protected imp: any = 0

Inherited from

Mx3dBaseObject.imp

Methods

Apex

Apex(): MdGePoint

Returns

MdGePoint


Axis

Axis(): MdGeAxis

Returns

MdGeAxis


Direct

Direct(): boolean

Returns

boolean


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

Parameters

NameType
theA1MdGeAxis

Returns

MdGeCone


MirroredByCSYSR

MirroredByCSYSR(theA2): MdGeCone

Parameters

NameType
theA2MdGeCSYSR

Returns

MdGeCone


MirroredByPoint

MirroredByPoint(theP): MdGeCone

Parameters

NameType
thePMdGePoint

Returns

MdGeCone


Position

Position(): MdGeCSYS

Returns

MdGeCSYS


RefRadius

RefRadius(): number

Returns

number


Rotate

Rotate(theA1, theAng): void

Parameters

NameType
theA1MdGeAxis
theAngnumber

Returns

void


Rotated

Rotated(theA1, theAng): MdGeCone

Parameters

NameType
theA1MdGeAxis
theAngnumber

Returns

MdGeCone


Scale

Scale(theP, theS): void

Parameters

NameType
thePMdGePoint
theSnumber

Returns

void


Scaled

Scaled(theP, theS): MdGeCone

Parameters

NameType
thePMdGePoint
theSnumber

Returns

MdGeCone


SemiAngle

SemiAngle(): number

Returns

number


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


SetRadius

SetRadius(theR): void

Parameters

NameType
theRnumber

Returns

void


SetSemiAngle

SetSemiAngle(theAng): void

Parameters

NameType
theAngnumber

Returns

void


Shape

Shape(H, Angle?): MdGeShape

Parameters

NameType
Hnumber
Angle?number

Returns

MdGeShape


Transform

Transform(theT): void

Parameters

NameType
theTMdGeTrsf

Returns

void


Transformed

Transformed(theT): MdGeCone

Parameters

NameType
theTMdGeTrsf

Returns

MdGeCone


TranslateBy2Points

TranslateBy2Points(theP1, theP2): void

Parameters

NameType
theP1MdGePoint
theP2MdGePoint

Returns

void


TranslateByVec

TranslateByVec(theV): void

Parameters

NameType
theVMdGeVec

Returns

void


TranslatedBy2Points

TranslatedBy2Points(theP1, theP2): MdGeCone

Parameters

NameType
theP1MdGePoint
theP2MdGePoint

Returns

MdGeCone


TranslatedByVec

TranslatedByVec(theV): MdGeCone

Parameters

NameType
theVMdGeVec

Returns

MdGeCone


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

Mx3dBaseObject.getImp


initTempObject

Protected initTempObject(imp): void

Parameters

NameType
impany

Returns

void

Inherited from

Mx3dBaseObject.initTempObject