Skip to content
On this page

mxcad API 文档 / MdGeBezierCurve

Class: MdGeBezierCurve

表示贝塞尔曲线

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MdGeBezierCurve(p1?, p2?)

Parameters

NameType
p1?object | MdGeArray1OfPnt
p2?MdGeArray1OfReal

Overrides

Mx3dBaseObject.constructor

Properties

imp

Protected imp: any = 0

Inherited from

Mx3dBaseObject.imp

Methods

Continuity

Continuity(): MxGAShapeEnum

Returns

MxGAShapeEnum


DN

DN(U, N): MdGeVec

Parameters

NameType
Unumber
Nnumber

Returns

MdGeVec


Degree

Degree(): number

Returns

number


Edge

Edge(): MdGeEdge

Returns

MdGeEdge


EndPoint

EndPoint(): MdGePoint

Returns

MdGePoint


FirstParameter

FirstParameter(): number

Returns

number


Increase

Increase(Degree): void

Parameters

NameType
Degreenumber

Returns

void


InsertPoleAfter

InsertPoleAfter(p1, p2, p3?): void

Parameters

NameType
p1number
p2MdGePoint
p3?number

Returns

void


InsertPoleBefore

InsertPoleBefore(p1, p2, p3?): void

Parameters

NameType
p1number
p2MdGePoint
p3?number

Returns

void


IsCN

IsCN(N): boolean

Parameters

NameType
Nnumber

Returns

boolean


IsClosed

IsClosed(): boolean

Returns

boolean


IsPeriodic

IsPeriodic(): boolean

Returns

boolean


IsRational

IsRational(): boolean

Returns

boolean


LastParameter

LastParameter(): number

Returns

number


NbPoles

NbPoles(): number

Returns

number


Pole

Pole(Index): MdGePoint

Parameters

NameType
Indexnumber

Returns

MdGePoint


Poles

Poles(): MdGeArray1OfPnt

Returns

MdGeArray1OfPnt


RemovePole

RemovePole(Index): void

Parameters

NameType
Indexnumber

Returns

void


Reverse

Reverse(): void

Returns

void


ReversedParameter

ReversedParameter(U): number

Parameters

NameType
Unumber

Returns

number


Segment

Segment(U1, U2): void

Parameters

NameType
U1number
U2number

Returns

void


SetPole

SetPole(p1, p2, p3?): void

Parameters

NameType
p1number
p2MdGePoint
p3?number

Returns

void


SetWeight

SetWeight(Index, Weight): void

Parameters

NameType
Indexnumber
Weightnumber

Returns

void


Shape

Shape(): MdGeShape

Returns

MdGeShape


StartPoint

StartPoint(): MdGePoint

Returns

MdGePoint


Transform

Transform(T): void

Parameters

NameType
TMdGeTrsf

Returns

void


Weight

Weight(Index): number

Parameters

NameType
Indexnumber

Returns

number


Weights

Weights(): MdGeArray1OfReal

Returns

MdGeArray1OfReal


Wire

Wire(): MdGeWire

Returns

MdGeWire


getImp

getImp(): any

Returns

any

Inherited from

Mx3dBaseObject.getImp


initTempObject

Protected initTempObject(imp): void

Parameters

NameType
impany

Returns

void

Inherited from

Mx3dBaseObject.initTempObject


MaxDegree

Static MaxDegree(): number

Returns

number