public class GisModelCurveCalculator
extends java.lang.Object
| Constructor and Description | 
|---|
GisModelCurveCalculator()  | 
| Modifier and Type | Method and Description | 
|---|---|
static java.util.List | 
calculateGisModelArc(double[] center,
                    double r,
                    double sa,
                    double ea)
This method calculates an array of Point2D that represents an arc. 
 | 
static java.util.List | 
calculateGisModelBulge(java.util.List newPts,
                      double[] bulges)
This method applies an array of bulges to an array of Point2D that defines a
 polyline. 
 | 
static java.util.List | 
calculateGisModelCircle(java.awt.geom.Point2D c,
                       double r)
This method calculates an array of Point2D that represents a circle. 
 | 
static java.util.List | 
calculateGisModelEllipse(java.awt.geom.Point2D center,
                        java.awt.geom.Point2D majorAxisVector,
                        double axisRatio,
                        double initAngle,
                        double endAngle)
This method calculates an array of Point2D that represents a ellipse. 
 | 
public static java.util.List calculateGisModelCircle(java.awt.geom.Point2D c,
                                                     double r)
c - Point2D that represents the center of the circler - double value that represents the radius of the circlepublic static java.util.List calculateGisModelEllipse(java.awt.geom.Point2D center,
                                                      java.awt.geom.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 java.util.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 java.util.List calculateGisModelBulge(java.util.List newPts,
                                                    double[] bulges)
newPts - Base points of the polylinebulges - Array of bulge parameters