mxcad API 文档 / MdGeBSplineSurface
Class: MdGeBSplineSurface
表示B样条曲面
Hierarchy
↳
MdGeBSplineSurface
Table of contents
Constructors
Properties
Methods
- Continuity
- DN
- ExchangeUV
- Face
- FirstUKnotIndex
- FirstVKnotIndex
- IncreaseDegree
- IncreaseUMultiplicity
- IncreaseVMultiplicity
- IncrementUMultiplicity
- IncrementVMultiplicity
- InsertUKnot
- InsertUKnots
- InsertVKnot
- InsertVKnots
- IsCNu
- IsCNv
- IsUClosed
- IsUPeriodic
- IsURational
- IsVClosed
- IsVPeriodic
- IsVRational
- LastUKnotIndex
- LastVKnotIndex
- LocalDN
- LocalValue
- NbUKnots
- NbUPoles
- NbVKnots
- NbVPoles
- Pole
- Poles
- RemoveUKnot
- RemoveVKnot
- SetPole
- SetPoleCol
- SetPoleRow
- SetUKnot
- SetUKnots
- SetUOrigin
- SetUPeriodic
- SetVKnot
- SetVKnots
- SetVNotPeriodic
- SetVOrigin
- SetVPeriodic
- SetWeight
- SetWeightCol
- SetWeightRow
- Shape
- Transform
- UDegree
- UKnot
- UKnotSequence
- UKnots
- UMultiplicities
- UMultiplicity
- UReverse
- UReversedParameter
- VDegree
- VKnot
- VKnotSequence
- VKnots
- VMultiplicities
- VMultiplicity
- VReverse
- VReversedParameter
- Weight
- Weights
- getImp
- initTempObject
- MaxDegree
Constructors
constructor
• new MdGeBSplineSurface(p1?
, p2?
, p3?
, p4?
, p5?
, p6?
, p7?
, p8?
, p9?
)
Parameters
Name | Type |
---|---|
p1? | object | MdGeArray2OfPnt |
p2? | MdGeArray1OfReal |
p3? | MdGeArray1OfReal |
p4? | MdGeArray1OfInteger |
p5? | MdGeArray1OfInteger |
p6? | number |
p7? | number |
p8? | boolean |
p9? | boolean |
Overrides
Properties
imp
• Protected
imp: any
= 0
Inherited from
Methods
Continuity
▸ Continuity(): MxGAShapeEnum
Returns
DN
▸ DN(U
, V
, Nu
, Nv
): MdGeVec
Parameters
Name | Type |
---|---|
U | number |
V | number |
Nu | number |
Nv | number |
Returns
ExchangeUV
▸ ExchangeUV(): void
Returns
void
Face
▸ Face(): MdGeFace
Returns
FirstUKnotIndex
▸ FirstUKnotIndex(): number
Returns
number
FirstVKnotIndex
▸ FirstVKnotIndex(): number
Returns
number
IncreaseDegree
▸ IncreaseDegree(UDegree
, VDegree
): void
Parameters
Name | Type |
---|---|
UDegree | number |
VDegree | number |
Returns
void
IncreaseUMultiplicity
▸ IncreaseUMultiplicity(p1
, p2
, p3?
): void
Parameters
Name | Type |
---|---|
p1 | number |
p2 | number |
p3? | number |
Returns
void
IncreaseVMultiplicity
▸ IncreaseVMultiplicity(p1
, p2
, p3?
): void
Parameters
Name | Type |
---|---|
p1 | number |
p2 | number |
p3? | number |
Returns
void
IncrementUMultiplicity
▸ IncrementUMultiplicity(FromI1
, ToI2
, Step
): void
Parameters
Name | Type |
---|---|
FromI1 | number |
ToI2 | number |
Step | number |
Returns
void
IncrementVMultiplicity
▸ IncrementVMultiplicity(FromI1
, ToI2
, Step
): void
Parameters
Name | Type |
---|---|
FromI1 | number |
ToI2 | number |
Step | number |
Returns
void
InsertUKnot
▸ InsertUKnot(U
, M
, ParametricTolerance
, Add?
): void
Parameters
Name | Type |
---|---|
U | number |
M | number |
ParametricTolerance | number |
Add? | boolean |
Returns
void
InsertUKnots
▸ InsertUKnots(Knots
, Mults
, ParametricTolerance?
, Add?
): void
Parameters
Name | Type |
---|---|
Knots | MdGeArray1OfReal |
Mults | MdGeArray1OfInteger |
ParametricTolerance? | number |
Add? | boolean |
Returns
void
InsertVKnot
▸ InsertVKnot(V
, M
, ParametricTolerance
, Add?
): void
Parameters
Name | Type |
---|---|
V | number |
M | number |
ParametricTolerance | number |
Add? | boolean |
Returns
void
InsertVKnots
▸ InsertVKnots(Knots
, Mults
, ParametricTolerance?
, Add?
): void
Parameters
Name | Type |
---|---|
Knots | MdGeArray1OfReal |
Mults | MdGeArray1OfInteger |
ParametricTolerance? | number |
Add? | boolean |
Returns
void
IsCNu
▸ IsCNu(N
): boolean
Parameters
Name | Type |
---|---|
N | number |
Returns
boolean
IsCNv
▸ IsCNv(N
): boolean
Parameters
Name | Type |
---|---|
N | number |
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
Name | Type |
---|---|
U | number |
V | number |
FromUK1 | number |
ToUK2 | number |
FromVK1 | number |
ToVK2 | number |
Nu | number |
Nv | number |
Returns
LocalValue
▸ LocalValue(U
, V
, FromUK1
, ToUK2
, FromVK1
, ToVK2
): MdGePoint
Parameters
Name | Type |
---|---|
U | number |
V | number |
FromUK1 | number |
ToUK2 | number |
FromVK1 | number |
ToVK2 | number |
Returns
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
Name | Type |
---|---|
UIndex | number |
VIndex | number |
Returns
Poles
▸ Poles(): MdGeArray2OfPnt
Returns
RemoveUKnot
▸ RemoveUKnot(Index
, M
, Tolerance
): boolean
Parameters
Name | Type |
---|---|
Index | number |
M | number |
Tolerance | number |
Returns
boolean
RemoveVKnot
▸ RemoveVKnot(Index
, M
, Tolerance
): boolean
Parameters
Name | Type |
---|---|
Index | number |
M | number |
Tolerance | number |
Returns
boolean
SetPole
▸ SetPole(UIndex
, VIndex
, P
, Weight?
): void
Parameters
Name | Type |
---|---|
UIndex | number |
VIndex | number |
P | MdGePoint |
Weight? | number |
Returns
void
SetPoleCol
▸ SetPoleCol(VIndex
, CPoles
, CPoleWeights?
): void
Parameters
Name | Type |
---|---|
VIndex | number |
CPoles | MdGeArray1OfPnt |
CPoleWeights? | MdGeArray1OfReal |
Returns
void
SetPoleRow
▸ SetPoleRow(UIndex
, CPoles
, CPoleWeights?
): void
Parameters
Name | Type |
---|---|
UIndex | number |
CPoles | MdGeArray1OfPnt |
CPoleWeights? | MdGeArray1OfReal |
Returns
void
SetUKnot
▸ SetUKnot(UIndex
, K
, M?
): void
Parameters
Name | Type |
---|---|
UIndex | number |
K | number |
M? | number |
Returns
void
SetUKnots
▸ SetUKnots(UK
): void
Parameters
Name | Type |
---|---|
UK | MdGeArray1OfReal |
Returns
void
SetUOrigin
▸ SetUOrigin(Index
): void
Parameters
Name | Type |
---|---|
Index | number |
Returns
void
SetUPeriodic
▸ SetUPeriodic(): void
Returns
void
SetVKnot
▸ SetVKnot(VIndex
, K
, M?
): void
Parameters
Name | Type |
---|---|
VIndex | number |
K | number |
M? | number |
Returns
void
SetVKnots
▸ SetVKnots(VK
): void
Parameters
Name | Type |
---|---|
VK | MdGeArray1OfReal |
Returns
void
SetVNotPeriodic
▸ SetVNotPeriodic(): void
Returns
void
SetVOrigin
▸ SetVOrigin(Index
): void
Parameters
Name | Type |
---|---|
Index | number |
Returns
void
SetVPeriodic
▸ SetVPeriodic(): void
Returns
void
SetWeight
▸ SetWeight(UIndex
, VIndex
, Weight
): void
Parameters
Name | Type |
---|---|
UIndex | number |
VIndex | number |
Weight | number |
Returns
void
SetWeightCol
▸ SetWeightCol(VIndex
, CPoleWeights
): void
Parameters
Name | Type |
---|---|
VIndex | number |
CPoleWeights | MdGeArray1OfReal |
Returns
void
SetWeightRow
▸ SetWeightRow(UIndex
, CPoleWeights
): void
Parameters
Name | Type |
---|---|
UIndex | number |
CPoleWeights | MdGeArray1OfReal |
Returns
void
Shape
▸ Shape(): MdGeShape
Returns
Transform
▸ Transform(T
): void
Parameters
Name | Type |
---|---|
T | MdGeTrsf |
Returns
void
UDegree
▸ UDegree(): number
Returns
number
UKnot
▸ UKnot(UIndex
): number
Parameters
Name | Type |
---|---|
UIndex | number |
Returns
number
UKnotSequence
▸ UKnotSequence(): MdGeArray1OfReal
Returns
UKnots
▸ UKnots(): MdGeArray1OfReal
Returns
UMultiplicities
▸ UMultiplicities(): MdGeArray1OfInteger
Returns
UMultiplicity
▸ UMultiplicity(UIndex
): number
Parameters
Name | Type |
---|---|
UIndex | number |
Returns
number
UReverse
▸ UReverse(): void
Returns
void
UReversedParameter
▸ UReversedParameter(U
): number
Parameters
Name | Type |
---|---|
U | number |
Returns
number
VDegree
▸ VDegree(): number
Returns
number
VKnot
▸ VKnot(VIndex
): number
Parameters
Name | Type |
---|---|
VIndex | number |
Returns
number
VKnotSequence
▸ VKnotSequence(): MdGeArray1OfReal
Returns
VKnots
▸ VKnots(): MdGeArray1OfReal
Returns
VMultiplicities
▸ VMultiplicities(): MdGeArray1OfInteger
Returns
VMultiplicity
▸ VMultiplicity(VIndex
): number
Parameters
Name | Type |
---|---|
VIndex | number |
Returns
number
VReverse
▸ VReverse(): void
Returns
void
VReversedParameter
▸ VReversedParameter(V
): number
Parameters
Name | Type |
---|---|
V | number |
Returns
number
Weight
▸ Weight(UIndex
, VIndex
): number
Parameters
Name | Type |
---|---|
UIndex | number |
VIndex | number |
Returns
number
Weights
▸ Weights(): MdGeArray2OfReal
Returns
getImp
▸ getImp(): any
Returns
any
Inherited from
initTempObject
▸ Protected
initTempObject(imp
): void
Parameters
Name | Type |
---|---|
imp | any |
Returns
void
Inherited from
MaxDegree
▸ Static
MaxDegree(): number
Returns
number