KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > awt > geom > CubicCurve2D

java.awt.geom
Class CubicCurve2D

java.lang.Object
  extended by java.awt.geom.CubicCurve2D
All Implemented Interfaces:
Shape, Cloneable
Direct Known Subclasses:
CubicCurve2D.Double, CubicCurve2D.Float
See Also:
Top Examples, Source Code

public Object clone()
See Also:
Cloneable, OutOfMemoryError
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean contains(double x,
                        double y)
See Also:
Shape
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean contains(double x,
                        double y,
                        double w,
                        double h)
See Also:
Shape.intersects(double, double, double, double), Area
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean contains(Point2D p)
See Also:
Shape
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean contains(Rectangle2D r)
See Also:
Shape.contains(double, double, double, double)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected CubicCurve2D()
See Also:
CubicCurve2D.Double, CubicCurve2D.Float
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Rectangle getBounds()
See Also:
Shape.getBounds2D()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract Point2D getCtrlP1()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract Point2D getCtrlP2()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract double getCtrlX1()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract double getCtrlX2()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract double getCtrlY1()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract double getCtrlY2()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public double getFlatness()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static double getFlatness(double x1,
                                 double y1,
                                 double ctrlx1,
                                 double ctrly1,
                                 double ctrlx2,
                                 double ctrly2,
                                 double x2,
                                 double y2)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static double getFlatness(double[] coords,
                                 int offset)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public double getFlatnessSq()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static double getFlatnessSq(double x1,
                                   double y1,
                                   double ctrlx1,
                                   double ctrly1,
                                   double ctrlx2,
                                   double ctrly2,
                                   double x2,
                                   double y2)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static double getFlatnessSq(double[] coords,
                                   int offset)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract Point2D getP1()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract Point2D getP2()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public PathIterator getPathIterator(AffineTransform at)
See Also:
Shape
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public PathIterator getPathIterator(AffineTransform at,
                                    double flatness)
See Also:
Shape
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract double getX1()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract double getX2()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract double getY1()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract double getY2()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean intersects(double x,
                          double y,
                          double w,
                          double h)
See Also:
Area, Shape
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean intersects(Rectangle2D r)
See Also:
Shape.intersects(double, double, double, double)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract void setCurve(double x1,
                              double y1,
                              double ctrlx1,
                              double ctrly1,
                              double ctrlx2,
                              double ctrly2,
                              double x2,
                              double y2)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setCurve(double[] coords,
                     int offset)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setCurve(CubicCurve2D c)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setCurve(Point2D p1,
                     Point2D cp1,
                     Point2D cp2,
                     Point2D p2)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setCurve(Point2D[] pts,
                     int offset)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static int solveCubic(double[] eqn)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static int solveCubic(double[] eqn,
                             double[] res)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static void subdivide(double[] src,
                             int srcoff,
                             double[] left,
                             int leftoff,
                             double[] right,
                             int rightoff)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void subdivide(CubicCurve2D left,
                      CubicCurve2D right)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static void subdivide(CubicCurve2D src,
                             CubicCurve2D left,
                             CubicCurve2D right)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags