// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_awt_geom_Line2D__
#define __java_awt_geom_Line2D__

#pragma interface

#include <java/lang/Object.h>

extern "Java"
{
  namespace java
  {
    namespace awt
    {
      class Rectangle;
      namespace geom
      {
        class Line2D;
        class PathIterator;
        class AffineTransform;
        class Rectangle2D;
        class Point2D;
      }
    }
  }
};

class ::java::awt::geom::Line2D : public ::java::lang::Object
{
public:  // actually protected
  Line2D ();
public:
  virtual ::java::lang::Object *clone ();
  virtual jboolean contains (jdouble, jdouble);
  virtual jboolean contains (jdouble, jdouble, jdouble, jdouble);
  virtual jboolean contains (::java::awt::geom::Point2D *);
  virtual jboolean contains (::java::awt::geom::Rectangle2D *);
  virtual ::java::awt::Rectangle *getBounds ();
  virtual ::java::awt::geom::Point2D *getP1 () = 0;
  virtual ::java::awt::geom::Point2D *getP2 () = 0;
  virtual ::java::awt::geom::PathIterator *getPathIterator (::java::awt::geom::AffineTransform *);
  virtual ::java::awt::geom::PathIterator *getPathIterator (::java::awt::geom::AffineTransform *, jdouble);
  virtual jdouble getX1 () = 0;
  virtual jdouble getY1 () = 0;
  virtual jdouble getX2 () = 0;
  virtual jdouble getY2 () = 0;
  virtual jboolean intersects (jdouble, jdouble, jdouble, jdouble);
  virtual jboolean intersects (::java::awt::geom::Rectangle2D *);
  virtual jboolean intersectsLine (jdouble, jdouble, jdouble, jdouble);
  virtual jboolean intersectsLine (::java::awt::geom::Line2D *);
  static jboolean linesIntersect (jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
  virtual jdouble ptLineDist (jdouble, jdouble);
  static jdouble ptLineDist (jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
  virtual jdouble ptLineDist (::java::awt::geom::Point2D *);
  virtual jdouble ptLineDistSq (jdouble, jdouble);
  static jdouble ptLineDistSq (jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
  virtual jdouble ptLineDistSq (::java::awt::geom::Point2D *);
  virtual jdouble ptSegDist (jdouble, jdouble);
  static jdouble ptSegDist (jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
  virtual jdouble ptSegDist (::java::awt::geom::Point2D *);
  virtual jdouble ptSegDistSq (jdouble, jdouble);
  static jdouble ptSegDistSq (jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
  virtual jdouble ptSegDistSq (::java::awt::geom::Point2D *);
  virtual jint relativeCCW (jdouble, jdouble);
  static jint relativeCCW (jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
  virtual jint relativeCCW (::java::awt::geom::Point2D *);
  virtual void setLine (jdouble, jdouble, jdouble, jdouble) = 0;
  virtual void setLine (::java::awt::geom::Line2D *);
  virtual void setLine (::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *);

  static ::java::lang::Class class$;
};

#endif /* __java_awt_geom_Line2D__ */
