Curvy  4.0.0
SplinePolyLine Class Reference
+ Collaboration diagram for SplinePolyLine:

Detailed Description

Spline Triangulation Helper Class

Public Types

enum  VertexCalculation { ByApproximation, ByAngle }
 How to calculate vertices More...
 

Public Attributes

float Angle
 Angle, used by VertexMode.ByAngle only More...
 
float Distance
 Minimum distance, used by VertexMode.ByAngle only More...
 
ContourOrientation Orientation = ContourOrientation.Original
 Orientation order More...
 
Space Space
 
CurvySpline Spline
 Base Spline More...
 
VertexCalculation VertexMode
 Vertex Calculation Mode More...
 

Properties

bool IsClosed [get]
 Gets whether the spline is closed More...
 

Public Member Functions

Vector3[] GetVertices ()
 Get vertices calculated using the current VertexMode More...
 
 SplinePolyLine (CurvySpline spline)
 Creates a Spline2MeshCurve class using Spline2MeshCurve.VertexMode.ByApproximation More...
 
 SplinePolyLine (CurvySpline spline, float angle, float distance)
 Creates a Spline2MeshCurve class using Spline2MeshCurve.VertexMode.ByAngle More...
 

Member Enumeration Documentation

enum VertexCalculation
strong

How to calculate vertices

Enumerator
ByApproximation 

Use Approximation points

ByAngle 

By curvation angle

Constructor & Destructor Documentation

Creates a Spline2MeshCurve class using Spline2MeshCurve.VertexMode.ByApproximation

SplinePolyLine ( CurvySpline  spline,
float  angle,
float  distance 
)

Creates a Spline2MeshCurve class using Spline2MeshCurve.VertexMode.ByAngle

Member Function Documentation

Vector3 [] GetVertices ( )

Get vertices calculated using the current VertexMode

Returns
an array of vertices

Member Data Documentation

float Angle

Angle, used by VertexMode.ByAngle only

float Distance

Minimum distance, used by VertexMode.ByAngle only

ContourOrientation Orientation = ContourOrientation.Original

Orientation order

Space Space
CurvySpline Spline

Base Spline

VertexCalculation VertexMode

Vertex Calculation Mode

Property Documentation

bool IsClosed
get

Gets whether the spline is closed


The documentation for this class was generated from the following file: