Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

ca0a3c3c 01d9 3569 1092 545b30fbf18f

haplokuon edited this page May 6, 2023 · 1 revision

Spline(IEnumerable<Vector3>, IEnumerable<Double>, Int16) Constructor

netDxf 3.0.0 Library

Initializes a new instance of the Spline class.

Definition

Namespace: netDxf.Entities
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public Spline(
	IEnumerable<Vector3> controlPoints,
	IEnumerable<double> weights,
	short degree
)

VB

Public Sub New ( 
	controlPoints As IEnumerable(Of Vector3),
	weights As IEnumerable(Of Double),
	degree As Short
)

C++

public:
Spline(
	IEnumerable<Vector3>^ controlPoints, 
	IEnumerable<double>^ weights, 
	short degree
)

F#

new : 
        controlPoints : IEnumerable<Vector3> * 
        weights : IEnumerable<float> * 
        degree : int16 -> Spline

Parameters

  IEnumerable(Vector3)
Spline control points.
  IEnumerable(Double)
Spline control weights. Pass null to set the default weights as 1.0.
  Int16
Degree of the spline curve. Valid values are 1 (linear), degree 2 (quadratic), degree 3 (cubic), and so on up to degree 10.

See Also

Reference

Spline Class
Spline Overload
netDxf.Entities Namespace

Clone this wiki locally