Skip to content
On this page

mxcad API 文档 / 3d / MdGeBSplineSurface

Class: MdGeBSplineSurface

3d.MdGeBSplineSurface

表示B样条曲面

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MdGeBSplineSurface(p1?, p2?, p3?, p4?, p5?, p6?, p7?, p8?, p9?)

Parameters

NameType
p1?object | MdGeArray2OfPnt
p2?MdGeArray1OfReal
p3?MdGeArray1OfReal
p4?MdGeArray1OfInteger
p5?MdGeArray1OfInteger
p6?number
p7?number
p8?boolean
p9?boolean

Overrides

Mx3dBaseObject.constructor

Properties

imp

Protected imp: any = 0

Inherited from

Mx3dBaseObject.imp

Methods

Continuity

Continuity(): MxGAShapeEnum

Returns

MxGAShapeEnum


DN

DN(U, V, Nu, Nv): MdGeVec

Parameters

NameType
Unumber
Vnumber
Nunumber
Nvnumber

Returns

MdGeVec


ExchangeUV

ExchangeUV(): void

Returns

void


Face

Face(): MdGeFace

Returns

MdGeFace


FirstUKnotIndex

FirstUKnotIndex(): number

Returns

number


FirstVKnotIndex

FirstVKnotIndex(): number

Returns

number


IncreaseDegree

IncreaseDegree(UDegree, VDegree): void

Parameters

NameType
UDegreenumber
VDegreenumber

Returns

void


IncreaseUMultiplicity

IncreaseUMultiplicity(p1, p2, p3?): void

Parameters

NameType
p1number
p2number
p3?number

Returns

void


IncreaseVMultiplicity

IncreaseVMultiplicity(p1, p2, p3?): void

Parameters

NameType
p1number
p2number
p3?number

Returns

void


IncrementUMultiplicity

IncrementUMultiplicity(FromI1, ToI2, Step): void

Parameters

NameType
FromI1number
ToI2number
Stepnumber

Returns

void


IncrementVMultiplicity

IncrementVMultiplicity(FromI1, ToI2, Step): void

Parameters

NameType
FromI1number
ToI2number
Stepnumber

Returns

void


InsertUKnot

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

Parameters

NameType
Unumber
Mnumber
ParametricTolerancenumber
Add?boolean

Returns

void


InsertUKnots

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

Parameters

NameType
KnotsMdGeArray1OfReal
MultsMdGeArray1OfInteger
ParametricTolerance?number
Add?boolean

Returns

void


InsertVKnot

InsertVKnot(V, M, ParametricTolerance, Add?): void

Parameters

NameType
Vnumber
Mnumber
ParametricTolerancenumber
Add?boolean

Returns

void


InsertVKnots

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

Parameters

NameType
KnotsMdGeArray1OfReal
MultsMdGeArray1OfInteger
ParametricTolerance?number
Add?boolean

Returns

void


IsCNu

IsCNu(N): boolean

Parameters

NameType
Nnumber

Returns

boolean


IsCNv

IsCNv(N): boolean

Parameters

NameType
Nnumber

Returns

boolean


IsUClosed

IsUClosed(): boolean

Returns

boolean


IsUPeriodic

IsUPeriodic(): boolean

Returns

boolean


IsURational

IsURational(): boolean

Returns

boolean


IsVClosed

IsVClosed(): boolean

Returns

boolean


IsVPeriodic

IsVPeriodic(): boolean

Returns

boolean


IsVRational

IsVRational(): boolean

Returns

boolean


LastUKnotIndex

LastUKnotIndex(): number

Returns

number


LastVKnotIndex

LastVKnotIndex(): number

Returns

number


LocalDN

LocalDN(U, V, FromUK1, ToUK2, FromVK1, ToVK2, Nu, Nv): MdGeVec

Parameters

NameType
Unumber
Vnumber
FromUK1number
ToUK2number
FromVK1number
ToVK2number
Nunumber
Nvnumber

Returns

MdGeVec


LocalValue

LocalValue(U, V, FromUK1, ToUK2, FromVK1, ToVK2): MdGePoint

Parameters

NameType
Unumber
Vnumber
FromUK1number
ToUK2number
FromVK1number
ToVK2number

Returns

MdGePoint


NbUKnots

NbUKnots(): number

Returns

number


NbUPoles

NbUPoles(): number

Returns

number


NbVKnots

NbVKnots(): number

Returns

number


NbVPoles

NbVPoles(): number

Returns

number


Pole

Pole(UIndex, VIndex): MdGePoint

Parameters

NameType
UIndexnumber
VIndexnumber

Returns

MdGePoint


Poles

Poles(): MdGeArray2OfPnt

Returns

MdGeArray2OfPnt


RemoveUKnot

RemoveUKnot(Index, M, Tolerance): boolean

Parameters

NameType
Indexnumber
Mnumber
Tolerancenumber

Returns

boolean


RemoveVKnot

RemoveVKnot(Index, M, Tolerance): boolean

Parameters

NameType
Indexnumber
Mnumber
Tolerancenumber

Returns

boolean


SetPole

SetPole(UIndex, VIndex, P, Weight?): void

Parameters

NameType
UIndexnumber
VIndexnumber
PMdGePoint
Weight?number

Returns

void


SetPoleCol

SetPoleCol(VIndex, CPoles, CPoleWeights?): void

Parameters

NameType
VIndexnumber
CPolesMdGeArray1OfPnt
CPoleWeights?MdGeArray1OfReal

Returns

void


SetPoleRow

SetPoleRow(UIndex, CPoles, CPoleWeights?): void

Parameters

NameType
UIndexnumber
CPolesMdGeArray1OfPnt
CPoleWeights?MdGeArray1OfReal

Returns

void


SetUKnot

SetUKnot(UIndex, K, M?): void

Parameters

NameType
UIndexnumber
Knumber
M?number

Returns

void


SetUKnots

SetUKnots(UK): void

Parameters

NameType
UKMdGeArray1OfReal

Returns

void


SetUOrigin

SetUOrigin(Index): void

Parameters

NameType
Indexnumber

Returns

void


SetUPeriodic

SetUPeriodic(): void

Returns

void


SetVKnot

SetVKnot(VIndex, K, M?): void

Parameters

NameType
VIndexnumber
Knumber
M?number

Returns

void


SetVKnots

SetVKnots(VK): void

Parameters

NameType
VKMdGeArray1OfReal

Returns

void


SetVNotPeriodic

SetVNotPeriodic(): void

Returns

void


SetVOrigin

SetVOrigin(Index): void

Parameters

NameType
Indexnumber

Returns

void


SetVPeriodic

SetVPeriodic(): void

Returns

void


SetWeight

SetWeight(UIndex, VIndex, Weight): void

Parameters

NameType
UIndexnumber
VIndexnumber
Weightnumber

Returns

void


SetWeightCol

SetWeightCol(VIndex, CPoleWeights): void

Parameters

NameType
VIndexnumber
CPoleWeightsMdGeArray1OfReal

Returns

void


SetWeightRow

SetWeightRow(UIndex, CPoleWeights): void

Parameters

NameType
UIndexnumber
CPoleWeightsMdGeArray1OfReal

Returns

void


Shape

Shape(): MdGeShape

Returns

MdGeShape


Transform

Transform(T): void

Parameters

NameType
TMdGeTrsf

Returns

void


UDegree

UDegree(): number

Returns

number


UKnot

UKnot(UIndex): number

Parameters

NameType
UIndexnumber

Returns

number


UKnotSequence

UKnotSequence(): MdGeArray1OfReal

Returns

MdGeArray1OfReal


UKnots

UKnots(): MdGeArray1OfReal

Returns

MdGeArray1OfReal


UMultiplicities

UMultiplicities(): MdGeArray1OfInteger

Returns

MdGeArray1OfInteger


UMultiplicity

UMultiplicity(UIndex): number

Parameters

NameType
UIndexnumber

Returns

number


UReverse

UReverse(): void

Returns

void


UReversedParameter

UReversedParameter(U): number

Parameters

NameType
Unumber

Returns

number


VDegree

VDegree(): number

Returns

number


VKnot

VKnot(VIndex): number

Parameters

NameType
VIndexnumber

Returns

number


VKnotSequence

VKnotSequence(): MdGeArray1OfReal

Returns

MdGeArray1OfReal


VKnots

VKnots(): MdGeArray1OfReal

Returns

MdGeArray1OfReal


VMultiplicities

VMultiplicities(): MdGeArray1OfInteger

Returns

MdGeArray1OfInteger


VMultiplicity

VMultiplicity(VIndex): number

Parameters

NameType
VIndexnumber

Returns

number


VReverse

VReverse(): void

Returns

void


VReversedParameter

VReversedParameter(V): number

Parameters

NameType
Vnumber

Returns

number


Weight

Weight(UIndex, VIndex): number

Parameters

NameType
UIndexnumber
VIndexnumber

Returns

number


Weights

Weights(): MdGeArray2OfReal

Returns

MdGeArray2OfReal


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