C# Class Spatial4n.Core.Shapes.Impl.GeoCircle

A circle as it exists on the surface of a sphere.
Inheritance: CircleImpl
Show file Open project: synhershko/Spatial4n Class Usage Examples

Public Methods

Method Description
GeoCircle ( System.Point p, double radiusDEG, SpatialContext ctx ) : System
Reset ( double x, double y, double radiusDEG ) : void
ToString ( ) : string

Protected Methods

Method Description
GetYAxis ( ) : double
RelateRectanglePhase2 ( Rectangle r, SpatialRelation bboxSect ) : SpatialRelation

Called after bounding box is intersected.

Private Methods

Method Description
Init ( ) : void
NumCornersIntersect ( Rectangle r ) : int
RelateRectangleCircleWrapsPole ( Rectangle r, SpatialContext ctx ) : SpatialRelation
Ulp ( double value ) : double

Method Details

GeoCircle() public method

public GeoCircle ( System.Point p, double radiusDEG, SpatialContext ctx ) : System
p System.Point
radiusDEG double
ctx Spatial4n.Core.Context.SpatialContext
return System

GetYAxis() protected method

protected GetYAxis ( ) : double
return double

RelateRectanglePhase2() protected method

Called after bounding box is intersected.
protected RelateRectanglePhase2 ( Rectangle r, SpatialRelation bboxSect ) : SpatialRelation
r Rectangle
bboxSect SpatialRelation INTERSECTS or CONTAINS from enclosingBox's intersection
return SpatialRelation

Reset() public method

public Reset ( double x, double y, double radiusDEG ) : void
x double
y double
radiusDEG double
return void

ToString() public method

public ToString ( ) : string
return string