/[classpath]/classpath/java/awt/geom/PathIterator.java
ViewVC logotype

Diff of /classpath/java/awt/geom/PathIterator.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by mkoch, Thu Nov 7 08:50:38 2002 UTC revision 1.6 by mkoch, Mon Dec 23 12:45:46 2002 UTC
# Line 84  public interface PathIterator Line 84  public interface PathIterator
84     * (P1), and final interpolated control point (P2):     * (P1), and final interpolated control point (P2):
85     * <pre>     * <pre>
86     *  P(t) = B(2,0)*CP + B(2,1)*P1 + B(2,2)*P2     *  P(t) = B(2,0)*CP + B(2,1)*P1 + B(2,2)*P2
87     *    0 <= t <= 1     *    0 &lt;= t &lt;= 1
88     *  B(n,m) = mth coefficient of nth degree Bernstein polynomial     *  B(n,m) = mth coefficient of nth degree Bernstein polynomial
89     *         = C(n,m) * t^(m) * (1 - t)^(n-m)     *         = C(n,m) * t^(m) * (1 - t)^(n-m)
90     *  C(n,m) = Combinations of n things, taken m at a time     *  C(n,m) = Combinations of n things, taken m at a time
# Line 100  public interface PathIterator Line 100  public interface PathIterator
100     * (P2), and final interpolated control point (P3):     * (P2), and final interpolated control point (P3):
101     * <pre>     * <pre>
102     *  P(t) = B(3,0)*CP + B(3,1)*P1 + B(3,2)*P2 + B(3,3)*P3     *  P(t) = B(3,0)*CP + B(3,1)*P1 + B(3,2)*P2 + B(3,3)*P3
103     *    0 <= t <= 1     *    0 &lt;= t &lt;= 1
104     *  B(n,m) = mth coefficient of nth degree Bernstein polynomial     *  B(n,m) = mth coefficient of nth degree Bernstein polynomial
105     *         = C(n,m) * t^(m) * (1 - t)^(n-m)     *         = C(n,m) * t^(m) * (1 - t)^(n-m)
106     *  C(n,m) = Combinations of n things, taken m at a time     *  C(n,m) = Combinations of n things, taken m at a time

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26