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

6f430f5a aa4a fd92 739e 71610a5c2a10

haplokuon edited this page May 6, 2023 · 1 revision

Spline Class

netDxf 3.0.0 Library

Represents a spline curve entity (NURBS Non-Uniform Rational B-Splines).

Definition

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

C#

public class Spline : EntityObject

VB

Public Class Spline
	Inherits EntityObject

C++

public ref class Spline : public EntityObject

F#

type Spline = 
    class
        inherit EntityObject
    end
Inheritance Object → DxfObjectEntityObject → Spline

Constructors

Spline(IEnumerable(BezierCurveCubic)) Initializes a new instance of the Spline class.
Spline(IEnumerable(BezierCurveQuadratic)) Initializes a new instance of the Spline class.
Spline(IEnumerable(Vector3)) Initializes a new instance of the Spline class.
Spline(IEnumerable(Vector3), IEnumerable(Double)) Initializes a new instance of the Spline class.
Spline(IEnumerable(Vector3), IEnumerable(Double), Boolean) Initializes a new instance of the Spline class.
Spline(IEnumerable(Vector3), IEnumerable(Double), Int16) Initializes a new instance of the Spline class.
Spline(IEnumerable(Vector3), IEnumerable(Double), Int16, Boolean) Initializes a new instance of the Spline class.
Spline(IEnumerable(Vector3), IEnumerable(Double), IEnumerable(Double), Int16, Boolean) Initializes a new instance of the Spline class.

Properties

CodeName Gets the DXF object name.
(Inherited from DxfObject)
Color Gets or sets the entity color.
(Inherited from EntityObject)
ControlPoints Gets the spline control points list.
CreationMethod Gets the spline creation method.
CtrlPointTolerance Gets or sets the control point tolerance.
Degree Gets or sets the polynomial degree of the resulting spline.
EndTangent Gets or sets the spline curve end tangent.
FitPoints Gets the spline fit points list.
FitTolerance Gets or sets the fit point tolerance.
Handle Gets the handle assigned to the DXF object.
(Inherited from DxfObject)
IsClosed Gets if the spline is closed.
IsClosedPeriodic Gets or sets if the spline is closed and periodic.
IsVisible Gets or set the entity visibility.
(Inherited from EntityObject)
KnotParameterization Gets or set the knot parameterization computational method.
Knots Gets the spline knot vector.
KnotTolerance Gets or sets the knot tolerance.
Layer Gets or sets the entity layer.
(Inherited from EntityObject)
Linetype Gets or sets the entity line type.
(Inherited from EntityObject)
LinetypeScale Gets or sets the entity line type scale.
(Inherited from EntityObject)
Lineweight Gets or sets the entity line weight, one unit is always 1/100 mm (default = ByLayer).
(Inherited from EntityObject)
Normal Gets or sets the entity normal.
(Inherited from EntityObject)
Owner Gets the owner of the actual DXF object.
(Inherited from EntityObject)
Reactors Gets the list of DXF objects that has been attached to this entity.
(Inherited from EntityObject)
StartTangent Gets or sets the spline curve start tangent.
Transparency Gets or sets layer transparency (default: ByLayer).
(Inherited from EntityObject)
Type Gets the entity type.
(Inherited from EntityObject)
Weights Gets the spline control points weights list.
XData Gets the entity extended data.
(Inherited from DxfObject)

Methods

Clone Creates a new Spline that is a copy of the current instance.
(Overrides EntityObject.Clone())
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
NurbsEvaluator Calculate points along a NURBS curve.
PolygonalVertexes Converts the spline in a list of vertexes.
Reverse Switch the spline direction.
SetUniformWeights Sets all control point weights to the specified number.
ToPolyline2D Converts the spline in a Polyline2D.
ToPolyline3D Converts the spline in a Polyline3D.
ToString Converts the value of this instance to its equivalent string representation.
(Inherited from EntityObject)
TransformBy(Matrix4) Moves, scales, and/or rotates the current entity given a 4x4 transformation matrix.
(Inherited from EntityObject)
TransformBy(Matrix3, Vector3) Moves, scales, and/or rotates the current entity given a 3x3 transformation matrix and a translation vector.
(Overrides EntityObject.TransformBy(Matrix3, Vector3))

Events

LayerChanged
(Inherited from EntityObject)
LinetypeChanged
(Inherited from EntityObject)
XDataAddAppReg
(Inherited from DxfObject)
XDataRemoveAppReg
(Inherited from DxfObject)

See Also

Reference

netDxf.Entities Namespace

Clone this wiki locally