Revision 38786 branches/v2_0_0_prep/libraries/libFMap_geometries/src/org/gvsig/fmap/geom/primitive/Arc.java

View differences:

Arc.java
74 74
     * angleExt < 0 means "advancing counterclockwise".
75 75
	 */
76 76
	void setPoints (Point center, double radius, double startAngle, double angleExt);
77

  
78
    /**
79
     * Sets the values to define an arc.
80
     * @param center The center of the arc.
81
     * @param radius The radius.
82
     * @param startAngle The start angle of the arc (in radians)
83
     * @param angleExt The angular extent of the arc (in radians). 
84
     * 
85
     * The sign convention is: 
86
     * 
87
     * startAngle = 0 is "3 o'clock"; 
88
     * startAngle = (PI / 3) is "1 o'clock"; 
89
     * angleExt > 0 means "advancing clockwise"; 
90
     * angleExt < 0 means "advancing counterclockwise".
91
     */
92
    void setPointsStartExt (Point center, double radius, double startAngle, double angleExt);
93
    
94
    /**
95
     * Sets the values to define an arc. The arc will go from
96
     * startAngle to endAngle clockwise. Angles will be
97
     * normalized to ]-PI, PI] (-PI excluded) before creating
98
     * the arc. 
99
     * 
100
     * @param center The center of the arc.
101
     * @param radius The radius.
102
     * @param startAngle The start angle of the arc (in radians)
103
     * @param endAngle The end angle of the arc (in radians). 
104
     * 
105
     */
106
    void setPointsStartEnd (Point center, double radius, double startAngle, double endAngle );
77 107
	
78
	
79 108
	/**
80 109
	 * Return the first point that has been used to create the arc.
81 110
	 * @return

Also available in: Unified diff