Skip to main content

NurbsPath2D

Complete API reference for NurbsPath2D, including constructors, attributes, virtual attributes, and methods.

Package: JAVARuntime

Category: NurbsPath

Component: no


public class NurbsPath2D

Constructors

SignatureDescription
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

SignatureReturnsDescription
evaluate(float)Vector2Performs the evaluate operation using the provided parameters (u).
evaluate(float, Vector2)Vector2Performs 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)voidAdds point to the collection.
addPath(List<Vector2>)voidAdds path to the collection.
getPoint(int)Vector2Returns the current point.
removePoint(Vector2)voidRemoves point from the collection.
removePoint(int)voidRemoves point from the collection.
pointsCount()intExecutes pointsCount and returns after the underlying engine call finishes.
isContinuous()booleanReturns whether continuous is true.
setContinuous(boolean)voidSets or updates the continuous.