Class ArcFromBulgeCalculator
- java.lang.Object
-
- org.hortonmachine.gears.io.dxfdwg.libs.dwg.utils.ArcFromBulgeCalculator
-
public class ArcFromBulgeCalculator extends Object
This class calculates an arc given by a start and end points and a bulge- Author:
- jmorell
-
-
Constructor Summary
Constructors Constructor Description ArcFromBulgeCalculator(Point2D p1, Point2D p2, double bulge)This method calculates an arc given by a start and end points and a bulge
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VectorgetCentralPoint()Method that allows to obtain a set of points located in the central zone of this arc objectVectorgetPoints(double inc)This method calculates an arc in a Gis geometry model.
-
-
-
Constructor Detail
-
ArcFromBulgeCalculator
public ArcFromBulgeCalculator(Point2D p1, Point2D 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 Detail
-
getPoints
public Vector getPoints(double inc)
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
public Vector getCentralPoint()
Method that allows to obtain a set of points located in the central zone of this arc object
-
-