Skip to main content

NurbsPath3D

class NurbsPath3D

It is a mathematical model used to generate and represent paths, curves and surfaces.


public class NurbsPath3D

— Constructors (4) —

ConstructorDescription
NurbsPath2D()Creates a new instance of NurbsPath3D.
NurbsPath2D(List\<Vector3> points)Creates a new instance of NurbsPath3D with the list of points defined to be the argument.
NurbsPath2D(boolean continuous)Creates a new instance of NurbsPath3D whether continuous or not defined to be the argument.
NurbsPath2D(List\<Vector3> points, boolean continuous)Creates a new instance of NurbsPath3D with the list of points, and whether continuous or not defined to be the arguments.

— Methods (12) —

NameDescription
Vector2 evaluate(float x)Currently evaluates NurbsPath3D.
Vector2 evaluate(float x, Vector3 out)Evaluates the NurbsPath3D at the moment and applies to the vector to be the argument.
List\<Vector3> evaluatePath(int resolution, List\<Vector3> list)Currently evaluates NurbsPath3D.
List\<Vector3> evaluatePath(int resolution)Currently evalates NurbsPath3D.
void addPoint(Vector3 vector)Adds a point to NurbsPath3D.
void addPath(List\<Vector3> path)Adds a path to NurbsPath3D.
Vector2 getPoint(int i)Returns a NurbsPath3D point.
void removePoint(Vector3 vector3)Removes a point of the NurbsPath3D.
void removePoint(int i)Removes a point of the NurbsPath3D.
int pointsCount()Returns the current value of NurbsPath3D points.
boolean isContinuous()Returns true if NurbsPath3D is continuous, returns false if not.
void setContinuous(boolean continuous)Defines whether or not NurbsPath3D will be continuous.