This repository has been archived by the owner on Oct 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 409
5a2f2546 649d 35e2 71e5 7035168a77a2
haplokuon edited this page May 6, 2023
·
1 revision
netDxf 3.0.0 Library
Initializes a new instance of the Spline
class.
Namespace: netDxf.Entities
Assembly: netDxf (in netDxf.dll) Version: 3.0.0
C#
public Spline(
IEnumerable<Vector3> controlPoints,
IEnumerable<double> weights,
bool closedPeriodic
)
VB
Public Sub New (
controlPoints As IEnumerable(Of Vector3),
weights As IEnumerable(Of Double),
closedPeriodic As Boolean
)
C++
public:
Spline(
IEnumerable<Vector3>^ controlPoints,
IEnumerable<double>^ weights,
bool closedPeriodic
)
F#
new :
controlPoints : IEnumerable<Vector3> *
weights : IEnumerable<float> *
closedPeriodic : bool -> Spline
- IEnumerable(Vector3)
- Spline control points.
- IEnumerable(Double)
- Spline control weights. If null the weights vector will be automatically initialized with 1.0.
- Boolean
- Sets if the spline as periodic closed (default false).
By default the degree of the spline is equal three.