Skip to content
On this page

mxcad API 文档 / 3d / MdGeBSplineCurve

Class: MdGeBSplineCurve

3d.MdGeBSplineCurve

表示B样条曲线

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MdGeBSplineCurve(p1?, p2?, p3?, p4?, p5?)

Parameters

NameType
p1?object | MdGeArray1OfPnt
p2?MdGeArray1OfReal
p3?MdGeArray1OfInteger
p4?number
p5?boolean

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


FirstUKnotIndex

FirstUKnotIndex(): number

Returns

number


IncreaseDegree

IncreaseDegree(Degree): void

Parameters

NameType
Degreenumber

Returns

void


IncreaseMultiplicity

IncreaseMultiplicity(p1, p2, p3?): void

Parameters

NameType
p1number
p2number
p3?number

Returns

void


IncrementMultiplicity

IncrementMultiplicity(I1, I2, M): void

Parameters

NameType
I1number
I2number
Mnumber

Returns

void


InsertKnot

InsertKnot(U, M?, ParametricTolerance?, Add?): void

Parameters

NameType
Unumber
M?number
ParametricTolerance?number
Add?boolean

Returns

void


InsertKnots

InsertKnots(Knots, Mults, ParametricTolerance?, Add?): void

Parameters

NameType
KnotsMdGeArray1OfReal
MultsMdGeArray1OfInteger
ParametricTolerance?number
Add?boolean

Returns

void


IsCN

IsCN(N): boolean

Parameters

NameType
Nnumber

Returns

boolean


IsClosed

IsClosed(): boolean

Returns

boolean


IsG1

IsG1(theTf, theTl, theAngTol): boolean

Parameters

NameType
theTfnumber
theTlnumber
theAngTolnumber

Returns

boolean


IsPeriodic

IsPeriodic(): boolean

Returns

boolean


IsRational

IsRational(): boolean

Returns

boolean


Knot

Knot(Index): number

Parameters

NameType
Indexnumber

Returns

number


KnotSequence

KnotSequence(): MdGeArray1OfReal

Returns

MdGeArray1OfReal


Knots

Knots(): MdGeArray1OfReal

Returns

MdGeArray1OfReal


LastParameter

LastParameter(): number

Returns

number


LastUKnotIndex

LastUKnotIndex(): number

Returns

number


LocalDN

LocalDN(U, FromK1, ToK2, N): MdGeVec

Parameters

NameType
Unumber
FromK1number
ToK2number
Nnumber

Returns

MdGeVec


LocalValue

LocalValue(U, FromK1, ToK2): MdGePoint

Parameters

NameType
Unumber
FromK1number
ToK2number

Returns

MdGePoint


Multiplicities

Multiplicities(): MdGeArray1OfInteger

Returns

MdGeArray1OfInteger


Multiplicity

Multiplicity(Index): number

Parameters

NameType
Indexnumber

Returns

number


NbKnots

NbKnots(): number

Returns

number


NbPoles

NbPoles(): number

Returns

number


Pole

Pole(Index): MdGePoint

Parameters

NameType
Indexnumber

Returns

MdGePoint


Poles

Poles(): MdGeArray1OfPnt

Returns

MdGeArray1OfPnt


RemoveKnot

RemoveKnot(Index, M, Tolerance): boolean

Parameters

NameType
Indexnumber
Mnumber
Tolerancenumber

Returns

boolean


Reverse

Reverse(): void

Returns

void


ReversedParameter

ReversedParameter(U): number

Parameters

NameType
Unumber

Returns

number


SetKnot

SetKnot(Index, K, M?): void

Parameters

NameType
Indexnumber
Knumber
M?number

Returns

void


SetKnots

SetKnots(K): void

Parameters

NameType
KMdGeArray1OfReal

Returns

void


SetNotPeriodic

SetNotPeriodic(): void

Returns

void


SetOrigin

SetOrigin(p1, p2?): void

Parameters

NameType
p1number
p2?number

Returns

void


SetPeriodic

SetPeriodic(): void

Returns

void


SetPole

SetPole(Index, P, Weight?): void

Parameters

NameType
Indexnumber
PMdGePoint
Weight?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