Show / Hide Table of Contents

Class HatchBoundaryPath.Spline

Represents a spline edge of a HatchBoundaryPath.

Inheritance
System.Object
HatchBoundaryPath.Edge
HatchBoundaryPath.Spline
Implements
System.ICloneable
Inherited Members
HatchBoundaryPath.Edge.Type
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: netDxf.Entities
Assembly: CADability.dll
Syntax
public class Spline : HatchBoundaryPath.Edge, ICloneable

Constructors

| Improve this Doc View Source

Spline()

Initializes a new instance of the HatchBoundaryPath.Spline class.

Declaration
public Spline()
| Improve this Doc View Source

Spline(EntityObject)

Initializes a new instance of the HatchBoundaryPath.Spline class.

Declaration
public Spline(EntityObject entity)
Parameters
Type Name Description
EntityObject entity

EntityObject that represents the edge.

Fields

| Improve this Doc View Source

ControlPoints

Gets or sets the list of control points of the spline.

Declaration
public Vector3[] ControlPoints
Field Value
Type Description
Vector3[]
Remarks

The position of the control point is defined by the X and Y coordinates, the Z value represents its weight.

| Improve this Doc View Source

Degree

Gets or sets the degree of the spline

Declaration
public short Degree
Field Value
Type Description
System.Int16
| Improve this Doc View Source

IsPeriodic

Gets or sets if the spline is periodic.

Declaration
public bool IsPeriodic
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

IsRational

Gets or sets if the spline is rational.

Declaration
public bool IsRational
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

Knots

Gets or sets the list of knots of the spline.

Declaration
public double[] Knots
Field Value
Type Description
System.Double[]

Methods

| Improve this Doc View Source

Clone()

Clones the actual edge.

Declaration
public override object Clone()
Returns
Type Description
System.Object

A copy of the actual edge.

Overrides
HatchBoundaryPath.Edge.Clone()
| Improve this Doc View Source

ConvertFrom(EntityObject)

Initializes a new instance of the HatchBoundaryPath.Spline class.

Declaration
public static HatchBoundaryPath.Spline ConvertFrom(EntityObject entity)
Parameters
Type Name Description
EntityObject entity

EntityObject that represents the edge.

Returns
Type Description
HatchBoundaryPath.Spline
| Improve this Doc View Source

ConvertTo()

Converts the actual edge to its entity equivalent.

Declaration
public override EntityObject ConvertTo()
Returns
Type Description
EntityObject

An EntityObject equivalent to the actual edge.

Overrides
HatchBoundaryPath.Edge.ConvertTo()

Implements

System.ICloneable
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX