Show / Hide Table of Contents

Class SplineVertex

Represents a control point of a Spline.

Inheritance
System.Object
SplineVertex
Implements
System.ICloneable
Inherited Members
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)
Namespace: netDxf.Entities
Assembly: CADability.dll
Syntax
public class SplineVertex : ICloneable

Constructors

| Improve this Doc View Source

SplineVertex(Vector2)

Initializes a new instance of the SplineVertex class.

Declaration
public SplineVertex(Vector2 position)
Parameters
Type Name Description
Vector2 position

Spline control point Vector2 coordinates.

| Improve this Doc View Source

SplineVertex(Vector2, Double)

Initializes a new instance of the SplineVertex class.

Declaration
public SplineVertex(Vector2 position, double weight)
Parameters
Type Name Description
Vector2 position

Spline control point Vector2 coordinates.

System.Double weight

Weight of the spline control point (default 1.0).

| Improve this Doc View Source

SplineVertex(Vector3)

Initializes a new instance of the SplineVertex class.

Declaration
public SplineVertex(Vector3 position)
Parameters
Type Name Description
Vector3 position

Spline control point Vector3 coordinates.

| Improve this Doc View Source

SplineVertex(Vector3, Double)

Initializes a new instance of the SplineVertex class.

Declaration
public SplineVertex(Vector3 position, double weight)
Parameters
Type Name Description
Vector3 position

Spline control point Vector3 coordinates.

System.Double weight

Weight of the spline control point (default 1.0).

| Improve this Doc View Source

SplineVertex(Double, Double, Double)

Initializes a new instance of the SplineVertex class.

Declaration
public SplineVertex(double x, double y, double z)
Parameters
Type Name Description
System.Double x

Control point x coordinate.

System.Double y

Control point y coordinate.

System.Double z

Control point z coordinate.

| Improve this Doc View Source

SplineVertex(Double, Double, Double, Double)

Initializes a new instance of the SplineVertex class.

Declaration
public SplineVertex(double x, double y, double z, double w)
Parameters
Type Name Description
System.Double x

Control point x coordinate.

System.Double y

Control point y coordinate.

System.Double z

Control point z coordinate.

System.Double w

Control point weight (default 1.0).

Properties

| Improve this Doc View Source

Position

Get or sets the spline control point Vector3 coordinates.

Declaration
public Vector3 Position { get; set; }
Property Value
Type Description
Vector3
| Improve this Doc View Source

Weight

Gets or sets the weight of the spline control point.

Declaration
public double Weight { get; set; }
Property Value
Type Description
System.Double

Methods

| Improve this Doc View Source

Clone()

Creates a new Spline that is a copy of the current instance.

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

A new Spline that is a copy of this instance.

| Improve this Doc View Source

ToString()

Obtains a string that represents the spline vertex.

Declaration
public override string ToString()
Returns
Type Description
System.String

A string text.

Overrides
System.Object.ToString()
| Improve this Doc View Source

ToString(IFormatProvider)

Obtains a string that represents the spline vertex.

Declaration
public string ToString(IFormatProvider provider)
Parameters
Type Name Description
System.IFormatProvider provider

An IFormatProvider interface implementation that supplies culture-specific formatting information.

Returns
Type Description
System.String

A string text.

Implements

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