OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [awt/] [geom/] [Line2D.h] - Blame information for rev 758

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 758 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __java_awt_geom_Line2D__
5
#define __java_awt_geom_Line2D__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
extern "Java"
11
{
12
  namespace java
13
  {
14
    namespace awt
15
    {
16
        class Rectangle;
17
      namespace geom
18
      {
19
          class AffineTransform;
20
          class Line2D;
21
          class PathIterator;
22
          class Point2D;
23
          class Rectangle2D;
24
      }
25
    }
26
  }
27
}
28
 
29
class java::awt::geom::Line2D : public ::java::lang::Object
30
{
31
 
32
public: // actually protected
33
  Line2D();
34
public:
35
  virtual jdouble getX1() = 0;
36
  virtual jdouble getY1() = 0;
37
  virtual ::java::awt::geom::Point2D * getP1() = 0;
38
  virtual jdouble getX2() = 0;
39
  virtual jdouble getY2() = 0;
40
  virtual ::java::awt::geom::Point2D * getP2() = 0;
41
  virtual void setLine(jdouble, jdouble, jdouble, jdouble) = 0;
42
  virtual void setLine(::java::awt::geom::Point2D *, ::java::awt::geom::Point2D *);
43
  virtual void setLine(::java::awt::geom::Line2D *);
44
  static jint relativeCCW(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
45
  virtual jint relativeCCW(jdouble, jdouble);
46
  virtual jint relativeCCW(::java::awt::geom::Point2D *);
47
private:
48
  static jdouble area2(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
49
  static jboolean between(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
50
public:
51
  static jboolean linesIntersect(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
52
  virtual jboolean intersectsLine(jdouble, jdouble, jdouble, jdouble);
53
  virtual jboolean intersectsLine(::java::awt::geom::Line2D *);
54
  static jdouble ptSegDistSq(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
55
  static jdouble ptSegDist(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
56
  virtual jdouble ptSegDistSq(jdouble, jdouble);
57
  virtual jdouble ptSegDistSq(::java::awt::geom::Point2D *);
58
  virtual jdouble ptSegDist(jdouble, jdouble);
59
  virtual jdouble ptSegDist(::java::awt::geom::Point2D *);
60
  static jdouble ptLineDistSq(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
61
  static jdouble ptLineDist(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
62
  virtual jdouble ptLineDistSq(jdouble, jdouble);
63
  virtual jdouble ptLineDistSq(::java::awt::geom::Point2D *);
64
  virtual jdouble ptLineDist(jdouble, jdouble);
65
  virtual jdouble ptLineDist(::java::awt::geom::Point2D *);
66
  virtual jboolean contains(jdouble, jdouble);
67
  virtual jboolean contains(::java::awt::geom::Point2D *);
68
  virtual jboolean intersects(jdouble, jdouble, jdouble, jdouble);
69
  virtual jboolean intersects(::java::awt::geom::Rectangle2D *);
70
  virtual jboolean contains(jdouble, jdouble, jdouble, jdouble);
71
  virtual jboolean contains(::java::awt::geom::Rectangle2D *);
72
  virtual ::java::awt::Rectangle * getBounds();
73
  virtual ::java::awt::geom::PathIterator * getPathIterator(::java::awt::geom::AffineTransform *);
74
  virtual ::java::awt::geom::PathIterator * getPathIterator(::java::awt::geom::AffineTransform *, jdouble);
75
  virtual ::java::lang::Object * clone();
76
  virtual ::java::awt::geom::Rectangle2D * getBounds2D() = 0;
77
  static ::java::lang::Class class$;
78
};
79
 
80
#endif // __java_awt_geom_Line2D__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.