public class GisModelCurveCalculator extends Object
| Constructor and Description |
|---|
GisModelCurveCalculator() |
| Modifier and Type | Method and Description |
|---|---|
static List |
calculateGisModelArc(double[] center,
double r,
double sa,
double ea)
This method calculates an array of Point2D that represents an arc.
|
static List |
calculateGisModelBulge(List newPts,
double[] bulges)
This method applies an array of bulges to an array of Point2D that defines a
polyline.
|
static List |
calculateGisModelCircle(Point2D c,
double r)
This method calculates an array of Point2D that represents a circle.
|
static List |
calculateGisModelEllipse(Point2D center,
Point2D majorAxisVector,
double axisRatio,
double initAngle,
double endAngle)
This method calculates an array of Point2D that represents a ellipse.
|
public static List calculateGisModelCircle(Point2D c, double r)
c - Point2D that represents the center of the circler - double value that represents the radius of the circlepublic static List calculateGisModelEllipse(Point2D center, Point2D majorAxisVector, double axisRatio, double initAngle, double endAngle)
center - Point2D that represents the center of the ellipsemajorAxisVector - Point2D that represents the vector for the major axisaxisRatio - double value that represents the axis ratioinitAngle - double value that represents the start angle of the ellipse arcendAngle - double value that represents the end angle of the ellipse arcpublic static List calculateGisModelArc(double[] center, double r, double sa, double ea)
c - Point2D that represents the center of the arcr - double value that represents the radius of the arcsa - double value that represents the start angle of the arcea - double value that represents the end angle of the arcpublic static List calculateGisModelBulge(List newPts, double[] bulges)
newPts - Base points of the polylinebulges - Array of bulge parameters