예제 #1
0
 public boolean PathEquals(VEdge v) {
   if (v.getEdgeType() != VEdge.QUADCURVE) return false; // not the same type
   Point vcp = v.getControlPoints().firstElement();
   // both are quadcurves so they share same path if the bezierpoint is equal
   return ((bezierpoint.x == vcp.x) && (bezierpoint.y == vcp.y));
 }