public class GeoPoint extends GeoArea
| Constructor and Description | 
|---|
| GeoPoint(double[] point)Creates a new instance of GeoPoint | 
| GeoPoint(double x,
        double y)Creates a new instance of GeoPoint | 
| Modifier and Type | Method and Description | 
|---|---|
| List<double[]> | boundingBox()Returns an ArrayList of 4 points that define an oriented rectangle enclosing the GeoArea | 
| double | boundingCircleRadius()Returns the radius of a circle (centered at the area centroid) that encloses the area | 
| double[] | closestPoint(double[] point)Returns the point in the GeoArea that is closest to the parameter point | 
| boolean | contains(double[] point)Returns true if the point defined by the parameter is inside the GeoPoint | 
| AreaElementType | convertToAreaElementType()Converts the GeoPoint to an AVCL area object | 
| double | getArea()Returns the area (square meters) of the GeoArea | 
| double[] | getCentroid()Returns a double[2] with the (x, y) position of the area's centroid | 
| double[] | getIntersection(double[] point1,
               double[] point2)Determines the closest point of intersection between the region and a line | 
| double[] | getSegmentIntersection(double[] point1,
                      double[] point2)Determines the closest point of intersection between the region and a line segment | 
| List<double[]> | getTangents(double[] start)Determines the points on the area's edge that are
 tangentially reachable from a specified point. | 
| boolean | isOnEdge(double[] point)Returns true if the point defined by the parameter is on the edge of the GeoArea | 
| String | toMATLABString(String colorCode)Generates a string representation of the Path object that can be used to plot the path in MATLAB | 
distance, distance, dotProduct, getLineIntersection, getLineSegmentIntersection, getLineToSegmentIntersection, isColocated, isColocated, isConcave, isInLineSegment, isInSegment, isOnSegment, isOnSegment, orientedBoundingBoxpublic GeoPoint(double x,
        double y)
x - the X coordinate of the geographic pointy - the Y coordinate of the geographic pointpublic GeoPoint(double[] point)
point - double[2] containing the (x, y) location of the GeoPointpublic List<double[]> boundingBox()
boundingBox in class GeoAreapublic double boundingCircleRadius()
boundingCircleRadius in class GeoAreapublic double[] closestPoint(double[] point)
closestPoint in class GeoAreapoint - double[2] with the (x, y) coordinates of the point being testedpublic boolean contains(double[] point)
public boolean isOnEdge(double[] point)
public double getArea()
public double[] getCentroid()
getCentroid in class GeoAreapublic double[] getIntersection(double[] point1,
                       double[] point2)
getIntersection in class GeoAreapoint1 - first point on the line (point1[0] = x, point1[1] = y)point2 - second point on the line (point2[0] = x, point2[1] = y)public double[] getSegmentIntersection(double[] point1,
                              double[] point2)
getSegmentIntersection in class GeoAreapoint1 - first point on the line (point1[0] = x, point1[1] = y)point2 - second point on the line (point2[0] = x, point2[1] = y)public List<double[]> getTangents(double[] start)
getTangents in class GeoAreastart - the point from which tangents are to be determined start[0] = x, start[1] = ypublic AreaElementType convertToAreaElementType()
convertToAreaElementType in class GeoAreapublic String toMATLABString(String colorCode)
toMATLABString in class GeoAreacolorCode - MATLAB code for the color that is to be used in plotting the areas