mxcad API 文档 / 3d / MdGeBSplineCurve
Class: MdGeBSplineCurve
3d.MdGeBSplineCurve
表示B样条曲线
Hierarchy
↳
MdGeBSplineCurve
Table of contents
Constructors
Properties
Methods
- Continuity
- DN
- Degree
- Edge
- EndPoint
- FirstParameter
- FirstUKnotIndex
- IncreaseDegree
- IncreaseMultiplicity
- IncrementMultiplicity
- InsertKnot
- InsertKnots
- IsCN
- IsClosed
- IsG1
- IsPeriodic
- IsRational
- Knot
- KnotSequence
- Knots
- LastParameter
- LastUKnotIndex
- LocalDN
- LocalValue
- Multiplicities
- Multiplicity
- NbKnots
- NbPoles
- Pole
- Poles
- RemoveKnot
- Reverse
- ReversedParameter
- SetKnot
- SetKnots
- SetNotPeriodic
- SetOrigin
- SetPeriodic
- SetPole
- SetWeight
- Shape
- StartPoint
- Transform
- Weight
- Weights
- Wire
- getImp
- initTempObject
Constructors
constructor
• new MdGeBSplineCurve(p1?
, p2?
, p3?
, p4?
, p5?
)
Parameters
Name | Type |
---|---|
p1? | object | MdGeArray1OfPnt |
p2? | MdGeArray1OfReal |
p3? | MdGeArray1OfInteger |
p4? | number |
p5? | boolean |
Overrides
Properties
imp
• Protected
imp: any
= 0
Inherited from
Methods
Continuity
▸ Continuity(): MxGAShapeEnum
Returns
DN
▸ DN(U
, N
): MdGeVec
Parameters
Name | Type |
---|---|
U | number |
N | number |
Returns
Degree
▸ Degree(): number
Returns
number
Edge
▸ Edge(): MdGeEdge
Returns
EndPoint
▸ EndPoint(): MdGePoint
Returns
FirstParameter
▸ FirstParameter(): number
Returns
number
FirstUKnotIndex
▸ FirstUKnotIndex(): number
Returns
number
IncreaseDegree
▸ IncreaseDegree(Degree
): void
Parameters
Name | Type |
---|---|
Degree | number |
Returns
void
IncreaseMultiplicity
▸ IncreaseMultiplicity(p1
, p2
, p3?
): void
Parameters
Name | Type |
---|---|
p1 | number |
p2 | number |
p3? | number |
Returns
void
IncrementMultiplicity
▸ IncrementMultiplicity(I1
, I2
, M
): void
Parameters
Name | Type |
---|---|
I1 | number |
I2 | number |
M | number |
Returns
void
InsertKnot
▸ InsertKnot(U
, M?
, ParametricTolerance?
, Add?
): void
Parameters
Name | Type |
---|---|
U | number |
M? | number |
ParametricTolerance? | number |
Add? | boolean |
Returns
void
InsertKnots
▸ InsertKnots(Knots
, Mults
, ParametricTolerance?
, Add?
): void
Parameters
Name | Type |
---|---|
Knots | MdGeArray1OfReal |
Mults | MdGeArray1OfInteger |
ParametricTolerance? | number |
Add? | boolean |
Returns
void
IsCN
▸ IsCN(N
): boolean
Parameters
Name | Type |
---|---|
N | number |
Returns
boolean
IsClosed
▸ IsClosed(): boolean
Returns
boolean
IsG1
▸ IsG1(theTf
, theTl
, theAngTol
): boolean
Parameters
Name | Type |
---|---|
theTf | number |
theTl | number |
theAngTol | number |
Returns
boolean
IsPeriodic
▸ IsPeriodic(): boolean
Returns
boolean
IsRational
▸ IsRational(): boolean
Returns
boolean
Knot
▸ Knot(Index
): number
Parameters
Name | Type |
---|---|
Index | number |
Returns
number
KnotSequence
▸ KnotSequence(): MdGeArray1OfReal
Returns
Knots
▸ Knots(): MdGeArray1OfReal
Returns
LastParameter
▸ LastParameter(): number
Returns
number
LastUKnotIndex
▸ LastUKnotIndex(): number
Returns
number
LocalDN
▸ LocalDN(U
, FromK1
, ToK2
, N
): MdGeVec
Parameters
Name | Type |
---|---|
U | number |
FromK1 | number |
ToK2 | number |
N | number |
Returns
LocalValue
▸ LocalValue(U
, FromK1
, ToK2
): MdGePoint
Parameters
Name | Type |
---|---|
U | number |
FromK1 | number |
ToK2 | number |
Returns
Multiplicities
▸ Multiplicities(): MdGeArray1OfInteger
Returns
Multiplicity
▸ Multiplicity(Index
): number
Parameters
Name | Type |
---|---|
Index | number |
Returns
number
NbKnots
▸ NbKnots(): number
Returns
number
NbPoles
▸ NbPoles(): number
Returns
number
Pole
▸ Pole(Index
): MdGePoint
Parameters
Name | Type |
---|---|
Index | number |
Returns
Poles
▸ Poles(): MdGeArray1OfPnt
Returns
RemoveKnot
▸ RemoveKnot(Index
, M
, Tolerance
): boolean
Parameters
Name | Type |
---|---|
Index | number |
M | number |
Tolerance | number |
Returns
boolean
Reverse
▸ Reverse(): void
Returns
void
ReversedParameter
▸ ReversedParameter(U
): number
Parameters
Name | Type |
---|---|
U | number |
Returns
number
SetKnot
▸ SetKnot(Index
, K
, M?
): void
Parameters
Name | Type |
---|---|
Index | number |
K | number |
M? | number |
Returns
void
SetKnots
▸ SetKnots(K
): void
Parameters
Name | Type |
---|---|
K | MdGeArray1OfReal |
Returns
void
SetNotPeriodic
▸ SetNotPeriodic(): void
Returns
void
SetOrigin
▸ SetOrigin(p1
, p2?
): void
Parameters
Name | Type |
---|---|
p1 | number |
p2? | number |
Returns
void
SetPeriodic
▸ SetPeriodic(): void
Returns
void
SetPole
▸ SetPole(Index
, P
, Weight?
): void
Parameters
Name | Type |
---|---|
Index | number |
P | MdGePoint |
Weight? | number |
Returns
void
SetWeight
▸ SetWeight(Index
, Weight
): void
Parameters
Name | Type |
---|---|
Index | number |
Weight | number |
Returns
void
Shape
▸ Shape(): MdGeShape
Returns
StartPoint
▸ StartPoint(): MdGePoint
Returns
Transform
▸ Transform(T
): void
Parameters
Name | Type |
---|---|
T | MdGeTrsf |
Returns
void
Weight
▸ Weight(Index
): number
Parameters
Name | Type |
---|---|
Index | number |
Returns
number
Weights
▸ Weights(): MdGeArray1OfReal
Returns
Wire
▸ Wire(): MdGeWire
Returns
getImp
▸ getImp(): any
Returns
any
Inherited from
initTempObject
▸ Protected
initTempObject(imp
): void
Parameters
Name | Type |
---|---|
imp | any |
Returns
void