NurbsPath2D
Complete API reference for NurbsPath2D, including constructors, attributes, virtual attributes, and methods.
Package: JAVARuntime
Category: NurbsPath
Component: no
public class NurbsPath2D
Constructors
| Signature | Description |
|---|---|
NurbsPath2D(NurbsPath2D) | Executes NurbsPath2D and returns after the underlying engine call finishes. |
NurbsPath2D() | Executes NurbsPath2D and returns after the underlying engine call finishes. |
NurbsPath2D([List<Vector2>]) | Creates a new instance of NurbsPath2D. |
NurbsPath2D(boolean) | Creates a new instance of NurbsPath2D. |
NurbsPath2D([List<Vector2>], boolean) | Creates a new instance of NurbsPath2D. |
Methods
| Signature | Returns | Description |
|---|---|---|
evaluate(float) | Vector2 | Performs the evaluate operation using the provided parameters (u). |
evaluate(float, Vector2) | Vector2 | Performs the evaluate operation using the provided parameters (u, out). |
evaluatePath(int) | List<Vector2> | Performs the evaluatePath operation using the provided parameters (resolution). |
evaluatePath(int, List<Vector2>) | List<Vector2> | Performs the evaluatePath operation using the provided parameters (resolution, list). |
addPoint(Vector2) | void | Adds point to the collection. |
addPath(List<Vector2>) | void | Adds path to the collection. |
getPoint(int) | Vector2 | Returns the current point. |
removePoint(Vector2) | void | Removes point from the collection. |
removePoint(int) | void | Removes point from the collection. |
pointsCount() | int | Executes pointsCount and returns after the underlying engine call finishes. |
isContinuous() | boolean | Returns whether continuous is true. |
setContinuous(boolean) | void | Sets or updates the continuous. |