/** * Returns the index of the path segment at the given distance along the * path. */ public int getPathSegAtLength(float distance) { PathLength pl = getPathLengthObj(); return pl.segmentAtLength(distance); } }
/** * Returns the total length of the path. */ public float getTotalLength() { PathLength pl = getPathLengthObj(); return pl.lengthOfPath(); }
/** * Returns the point at the given distance along the path. */ public Point2D getPointAtLength(float distance) { PathLength pl = getPathLengthObj(); return pl.pointAtLength(distance); }
/** * Returns the index of the path segment at the given distance along the * path. */ public int getPathSegAtLength(float distance) { PathLength pl = getPathLengthObj(); return pl.segmentAtLength(distance); } }
/** * Returns the total length of the path. */ public float getTotalLength() { PathLength pl = getPathLengthObj(); return pl.lengthOfPath(); }
/** * Returns the index of the path segment at the given distance along the * path. */ public int getPathSegAtLength(float distance) { PathLength pl = getPathLengthObj(); return pl.segmentAtLength(distance); } }
/** * Returns the point at the given distance along the path. */ public Point2D getPointAtLength(float distance) { PathLength pl = getPathLengthObj(); return pl.pointAtLength(distance); }
/** * Returns the total length of the path. */ public float getTotalLength() { PathLength pl = getPathLengthObj(); return pl.lengthOfPath(); }
/** * Returns the point at the given distance along the path. */ public Point2D getPointAtLength(float distance) { PathLength pl = getPathLengthObj(); return pl.pointAtLength(distance); }