mxcad API 文档 / MdGeBezierCurve
Class: MdGeBezierCurve
表示贝塞尔曲线
Hierarchy
↳
MdGeBezierCurve
Table of contents
Constructors
Properties
Methods
- Continuity
- DN
- Degree
- Edge
- EndPoint
- FirstParameter
- Increase
- InsertPoleAfter
- InsertPoleBefore
- IsCN
- IsClosed
- IsPeriodic
- IsRational
- LastParameter
- NbPoles
- Pole
- Poles
- RemovePole
- Reverse
- ReversedParameter
- Segment
- SetPole
- SetWeight
- Shape
- StartPoint
- Transform
- Weight
- Weights
- Wire
- getImp
- initTempObject
- MaxDegree
Constructors
constructor
• new MdGeBezierCurve(p1?
, p2?
)
Parameters
Name | Type |
---|---|
p1? | object | MdGeArray1OfPnt |
p2? | MdGeArray1OfReal |
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
Increase
▸ Increase(Degree
): void
Parameters
Name | Type |
---|---|
Degree | number |
Returns
void
InsertPoleAfter
▸ InsertPoleAfter(p1
, p2
, p3?
): void
Parameters
Name | Type |
---|---|
p1 | number |
p2 | MdGePoint |
p3? | number |
Returns
void
InsertPoleBefore
▸ InsertPoleBefore(p1
, p2
, p3?
): void
Parameters
Name | Type |
---|---|
p1 | number |
p2 | MdGePoint |
p3? | number |
Returns
void
IsCN
▸ IsCN(N
): boolean
Parameters
Name | Type |
---|---|
N | number |
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
Name | Type |
---|---|
Index | number |
Returns
Poles
▸ Poles(): MdGeArray1OfPnt
Returns
RemovePole
▸ RemovePole(Index
): void
Parameters
Name | Type |
---|---|
Index | number |
Returns
void
Reverse
▸ Reverse(): void
Returns
void
ReversedParameter
▸ ReversedParameter(U
): number
Parameters
Name | Type |
---|---|
U | number |
Returns
number
Segment
▸ Segment(U1
, U2
): void
Parameters
Name | Type |
---|---|
U1 | number |
U2 | number |
Returns
void
SetPole
▸ SetPole(p1
, p2
, p3?
): void
Parameters
Name | Type |
---|---|
p1 | number |
p2 | MdGePoint |
p3? | 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
Inherited from
MaxDegree
▸ Static
MaxDegree(): number
Returns
number