Pottery
Public Member Functions | List of all members
Spline Class Reference

the spline class represents a Vector Array of Points that the spline is made out of More...

Public Member Functions

 Spline (float radius, float height, int subdivision)
 
 Spline (Vector3[] spline)
 constructs a spline from a vertex Array More...
 
Vector3[] getSpline ()
 
Vector3 getVertex (int index)
 returns the Vertex for the given index More...
 
int getSize ()
 returns the size of the Vector3 array More...
 

Detailed Description

the spline class represents a Vector Array of Points that the spline is made out of

Constructor & Destructor Documentation

Spline.Spline ( Vector3[]  spline)

constructs a spline from a vertex Array

Parameters
splinea vertex arrray with points

summary> returns the points of the spline

Returns
returns an array of vector3 points

Member Function Documentation

int Spline.getSize ( )

returns the size of the Vector3 array

Returns
size of the vector3 array
Vector3 Spline.getVertex ( int  index)

returns the Vertex for the given index

Parameters
indexarray index
Returns
returns vertex position

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