JavaCAD
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Private Attributes | List of all members
com.piro.bezier.BezierPath Class Reference
Collaboration diagram for com.piro.bezier.BezierPath:
Collaboration graph
[legend]

Public Member Functions

 BezierPath ()
 
 BezierPath (String path)
 
void parsePathString (String d)
 
Vector3d eval (float interp)
 
ArrayList< Vector3devaluate ()
 

Protected Member Functions

void parsePathList (String list)
 

Static Protected Member Functions

static float nextFloat (LinkedList< String > l)
 

Private Attributes

ArrayList< Vector3dpointList = new ArrayList<Vector3d>()
 

Detailed Description

Definition at line 11 of file BezierPath.java.

Constructor & Destructor Documentation

◆ BezierPath() [1/2]

com.piro.bezier.BezierPath.BezierPath ( )

Creates a new instance of Animate

Definition at line 21 of file BezierPath.java.

◆ BezierPath() [2/2]

com.piro.bezier.BezierPath.BezierPath ( String  path)

Creates a new instance of Animate

Definition at line 25 of file BezierPath.java.

References com.piro.bezier.BezierPath.parsePathString().

Here is the call graph for this function:

Member Function Documentation

◆ eval()

Vector3d com.piro.bezier.BezierPath.eval ( float  interp)

Evaluates this animation element for the passed interpolation time. Interp must be on [0..1].

Definition at line 179 of file BezierPath.java.

References com.piro.bezier.Bezier.getLength().

Referenced by eu.mihosoft.vrl.v3d.Extrude.bezierToTransforms(), and eu.mihosoft.vrl.v3d.Extrude.moveBezier().

Here is the call graph for this function:

◆ evaluate()

ArrayList<Vector3d> com.piro.bezier.BezierPath.evaluate ( )

Evaluates this animation element for the passed interpolation time. Interp must be on [0..1].

Definition at line 207 of file BezierPath.java.

References com.piro.bezier.BezierPath.pointList.

Referenced by eu.mihosoft.vrl.v3d.svg.SVGLoad.loadSingle().

◆ nextFloat()

static float com.piro.bezier.BezierPath.nextFloat ( LinkedList< String >  l)
staticprotected

Definition at line 170 of file BezierPath.java.

Referenced by com.piro.bezier.BezierPath.parsePathList().

◆ parsePathList()

void com.piro.bezier.BezierPath.parsePathList ( String  list)
protected

◆ parsePathString()

void com.piro.bezier.BezierPath.parsePathString ( String  d)

Member Data Documentation

◆ pointList

ArrayList<Vector3d> com.piro.bezier.BezierPath.pointList = new ArrayList<Vector3d>()
private

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