Click or drag to resize

Spline Class

imbVeles Framework: imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Represents a spline curve entity (NURBS Non-Uniform Rational B-Splines).
Inheritance Hierarchy

Namespace:  netDxf.Entities
Assembly:  netDXF.Standard (in netDXF.Standard.dll) Version: 2.1.1
Syntax
C#
public class Spline : EntityObject
Request Example View Source

The Spline type exposes the following members.

Constructors
  NameDescription
Public methodSpline(ListSplineVertex)
Initializes a new instance of the Spline class.
Public methodSpline(IEnumerableVector3)
Initializes a new instance of the Spline class.
Public methodSpline(ListSplineVertex, Boolean)
Initializes a new instance of the Spline class.
Public methodSpline(ListSplineVertex, Int16)
Initializes a new instance of the Spline class.
Public methodSpline(ListSplineVertex, ListDouble, Int16)
Initializes a new instance of the Spline class.
Public methodSpline(ListSplineVertex, Int16, Boolean)
Initializes a new instance of the Spline class.
Top
Properties
  NameDescription
Public propertyCodeName
Gets the DXF object name.
(Inherited from DxfObject.)
Public propertyColor
Gets or sets the entity color.
(Inherited from EntityObject.)
Public propertyControlPoints
Gets the spline control points list.
Public propertyCreationMethod
Gets the spline creation method.
Public propertyCtrlPointTolerance
Gets or sets the control point tolerance.
Public propertyDegree
Gets or sets the polynomial degree of the resulting spline.
Public propertyEndTangent
Gets or sets the spline curve end tangent.
Public propertyFitPoints
Gets the spline fit points list.
Public propertyFitTolerance
Gets or sets the fit point tolerance.
Public propertyHandle
Gets the handle assigned to the DXF object.
(Inherited from DxfObject.)
Public propertyIsClosed
Gets if the spline is closed.
Public propertyIsPeriodic
Gets if the spline is periodic.
Public propertyIsVisible
Gets or set the entity visibility.
(Inherited from EntityObject.)
Public propertyKnotParameterization
Gets or set the knot parameterization computational method.
Public propertyKnots
Gets the spline knot vector.
Public propertyKnotTolerance
Gets or sets the knot tolerance.
Public propertyLayer
Gets or sets the entity layer.
(Inherited from EntityObject.)
Public propertyLinetype
Gets or sets the entity line type.
(Inherited from EntityObject.)
Public propertyLinetypeScale
Gets or sets the entity line type scale.
(Inherited from EntityObject.)
Public propertyLineweight
Gets or sets the entity line weight, one unit is always 1/100 mm (default = ByLayer).
(Inherited from EntityObject.)
Public propertyNormal
Gets or sets the entity normal.
(Inherited from EntityObject.)
Public propertyOwner
Gets the owner of the actual dxf object.
(Inherited from EntityObject.)
Public propertyReactors
Gets the list of dxf objects that has been attached to this entity.
(Inherited from EntityObject.)
Public propertyStartTangent
Gets or sets the spline curve start tangent.
Public propertyTransparency
Gets or sets layer transparency (default: ByLayer).
(Inherited from EntityObject.)
Public propertyType
Gets the entity type.
(Inherited from EntityObject.)
Public propertyXData
Gets the entity extended data.
(Inherited from EntityObject.)
Top
Methods
  NameDescription
Public methodClone
Creates a new Spline that is a copy of the current instance.
(Overrides EntityObjectClone.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnLayerChangedEvent (Inherited from EntityObject.)
Protected methodOnLinetypeChangedEvent (Inherited from EntityObject.)
Protected methodOnXDataAddAppRegEvent (Inherited from EntityObject.)
Protected methodOnXDataRemoveAppRegEvent (Inherited from EntityObject.)
Public methodPolygonalVertexes
Converts the spline in a list of vertexes.
Public methodReverse
Switch the polyline direction.
Public methodSetUniformWeights
Sets all control point weights to the specified number.
Public methodToPolyline
Converts the spline in a Polyline.
Public methodToString
Converts the value of this instance to its equivalent string representation.
(Inherited from EntityObject.)
Top
Events
  NameDescription
Public eventLayerChanged (Inherited from EntityObject.)
Public eventLinetypeChanged (Inherited from EntityObject.)
Public eventXDataAddAppReg (Inherited from EntityObject.)
Public eventXDataRemoveAppReg (Inherited from EntityObject.)
Top
See Also