Exemplo n.º 1
0
 /**
  * Returns the sequence of normals on this BSpline specified by the sequence of approximation
  * curves
  */
 public ArrayList<Vector2> getNormals() {
   ArrayList<Vector2> returnList = new ArrayList<Vector2>();
   for (CubicBezier b : approximationCurves)
     for (Vector2 p : b.getNormals()) returnList.add(p.clone());
   return returnList;
 }