JavaCAD
BezierHistory.java
Go to the documentation of this file.
1 package com.piro.bezier;
2 
3 
4 
5 public class BezierHistory
6 {
7 
8  Vector2 startPoint = new Vector2();
9  Vector2 lastPoint = new Vector2();
10  Vector2 lastKnot = new Vector2();
11 
12  public BezierHistory()
13  {
14  }
15 
16  public void setStartPoint(float x, float y)
17  {
18  startPoint.set(x, y);
19  }
20 
21  public void setLastPoint(float x, float y)
22  {
23  lastPoint.set(x, y);
24  }
25 
26  public void setLastKnot(float x, float y)
27  {
28  lastKnot.set(x, y);
29  }
30 }
void setLastKnot(float x, float y)
void setStartPoint(float x, float y)
void setLastPoint(float x, float y)
void set(float x, float y)
Definition: Vector2.java:8