Package org.gvsig.dwg.lib.util
Class ArcFromBulgeCalculator
java.lang.Object
org.gvsig.dwg.lib.util.ArcFromBulgeCalculator
This class calculates an arc given by a start and end points and a bulge
- Author:
- jmorell
-
Constructor Summary
ConstructorsConstructorDescriptionArcFromBulgeCalculator(double[] p1, double[] p2, double bulge) This method calculates an arc given by a start and end points and a bulge -
Method Summary
Modifier and TypeMethodDescriptionMethod that allows to obtain a set of points located in the central zone of this arc objectgetPoints(double inc) This method calculates an arc in a Gis geometry model.
-
Constructor Details
-
ArcFromBulgeCalculator
public ArcFromBulgeCalculator(double[] p1, double[] p2, double bulge) This method calculates an arc given by a start and end points and a bulge- Parameters:
p1- Start point of the arc given by a Point2Dp2- End point of the arc given by a Point2Dbulge- Bulge of the arc given by a double value
-
-
Method Details
-
getPoints
This method calculates an arc in a Gis geometry model. This arc is represented in this model by a Vector of Point2D. The distance between points in the arc is given as an argument- Parameters:
inc- Distance between points in the arc- Returns:
- Vector Vector with the set of Point2D that represents the arc
-
getCentralPoint
Method that allows to obtain a set of points located in the central zone of this arc object
-