Revision 38785 branches/v2_0_0_prep/libraries/libFMap_geometries/src/org/gvsig/fmap/geom/primitive/Arc.java
Arc.java | ||
---|---|---|
43 | 43 |
|
44 | 44 |
/** |
45 | 45 |
* Sets the three points to define an arc. |
46 |
* @param midPoint |
|
47 |
* The middle point of an arc. |
|
46 |
* These are three ordered points that belong to the arc |
|
47 |
* (none of them is the center of the ellipse/circle). Therefore |
|
48 |
* they must not be aligned. |
|
49 |
* |
|
48 | 50 |
* @param startPoint |
49 | 51 |
* The start point of an arc. |
52 |
* @param midPoint |
|
53 |
* The middle point of an arc. |
|
50 | 54 |
* @param endPoint |
51 | 55 |
* The end point of an arc. |
56 |
* @exception IllegalArgumentException if the three points are aligned or |
|
57 |
* there is a repeated point. |
|
58 |
* |
|
52 | 59 |
*/ |
53 |
void setPoints(Point midPoint, Point startPoint, Point endPoint);
|
|
60 |
void setPoints(Point startPoint, Point midPoint, Point endPoint);
|
|
54 | 61 |
|
55 | 62 |
/** |
56 | 63 |
* Sets the values to define an arc. |
... | ... | |
68 | 75 |
*/ |
69 | 76 |
void setPoints (Point center, double radius, double startAngle, double angleExt); |
70 | 77 |
|
78 |
|
|
71 | 79 |
/** |
72 | 80 |
* Return the first point that has been used to create the arc. |
73 | 81 |
* @return |
... | ... | |
83 | 91 |
Point getEndPoint(); |
84 | 92 |
|
85 | 93 |
/** |
86 |
* Return the center point that has been used to create the arc. |
|
87 |
* @return |
|
88 |
* The center point of the arc. |
|
94 |
* Return the center of the arc, that is, the center of the ellipse/circle |
|
95 |
* in which the arc is based. |
|
96 |
* |
|
97 |
* @return The center of the arc. |
|
89 | 98 |
*/ |
90 | 99 |
Point getCenterPoint(); |
91 | 100 |
|
Also available in: Unified diff