/** * Creates a new <code>Point</code> from the control points making up this curve. It will have the name * <code>point</code>, no normals, colour or texture, these can be added to the returned point if needed. * * @param steps * The number of iterations to perform between control points, the higher this number the more points * will be shown, but it will also contain more vertices, must be greater than one. Use two to just show * the actual control points set for the curve. * @return A <code>Point</code> containing all the curve points, will not be <code>null</code>. */ public Point toRenderablePoint(final int steps) { return toRenderablePoint(1, getControlPointCount() - 2, steps); }
/** * Creates a new <code>Point</code> from the control points making up this curve. It will have the name * <code>point</code>, no normals, colour or texture, these can be added to the returned point if needed. * * @param steps * The number of iterations to perform between control points, the higher this number the more points * will be shown, but it will also contain more vertices, must be greater than one. Use two to just show * the actual control points set for the curve. * @return A <code>Point</code> containing all the curve points, will not be <code>null</code>. */ public Point toRenderablePoint(final int steps) { return toRenderablePoint(1, getControlPointCount() - 2, steps); }