Skip to content

ACadSharp.Entities.Spline

Albert Domenech edited this page Sep 9, 2025 · 9 revisions

Spline Class

Represents a entity.

Remarks

Object name
Dxf class name

Definition

Namespace: ACadSharp.Entities

C#

DxfNameAttribute
DxfSubClassAttribute
public class Spline

Properties

Returns Name Summary
List<XYZ> ControlPoints Number of control points (in WCS).
Double ControlPointTolerance Control-point tolerance.
Int32 Degree Gets or sets the polynomial degree of the resulting spline.
XYZ EndTangent End tangent—may be omitted in WCS.
List<XYZ> FitPoints Number of fit points (in WCS).
Double FitTolerance Fit tolerance.
SplineFlags Flags Spline flags.
SplineFlags1 Flags1 Spline flags1.
Boolean IsClosed Flag whether the spline is closed.
KnotParameterization KnotParameterization Knot parameters.
List<Double> Knots Number of knots.
Double KnotTolerance Knot tolerance.
XYZ Normal Specifies the three-dimensional normal unit vector for the object.
String ObjectName
ObjectType ObjectType
XYZ StartTangent Start tangent—may be omitted in WCS.
String SubclassMarker
List<Double> Weights Weight(if not 1); with multiple group pairs, they are present if all are not 1.

Methods

Returns Name Summary
Void ApplyTransform(CSMath.Transform)
CadObject Clone
BoundingBox GetBoundingBox Gets the bounding box aligned with the axis XYZ that occupies this entity.
XYZ PointOnSpline(System.Double) Gets a point on the spline.
List<XYZ> PolygonalVertexes(System.Int32) Converts the spline in a list of vertexes.
Void UpdateFromFitPoints Update the Spline control points from the fit points.
Clone this wiki locally