C# Class VelocityDB.geohash.BoundingBox

Show file Open project: VelocityDB/VelocityDB Class Usage Examples

Public Methods

Method Description
BoundingBox ( BoundingBox that ) : System
BoundingBox ( WGS84Point p1, WGS84Point p2 ) : System

create a bounding box defined by two coordinates

BoundingBox ( double y1, double y2, double x1, double x2 ) : System
Contains ( WGS84Point point ) : bool
Equals ( object obj ) : bool
ExpandToInclude ( BoundingBox other ) : void
GetHashCode ( ) : int
Intersects ( BoundingBox other ) : bool
ToString ( ) : string

Private Methods

Method Description
HashCode ( double x ) : int

Method Details

BoundingBox() public method

public BoundingBox ( BoundingBox that ) : System
that BoundingBox
return System

BoundingBox() public method

create a bounding box defined by two coordinates
public BoundingBox ( WGS84Point p1, WGS84Point p2 ) : System
p1 WGS84Point
p2 WGS84Point
return System

BoundingBox() public method

public BoundingBox ( double y1, double y2, double x1, double x2 ) : System
y1 double
y2 double
x1 double
x2 double
return System

Contains() public method

public Contains ( WGS84Point point ) : bool
point WGS84Point
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

ExpandToInclude() public method

public ExpandToInclude ( BoundingBox other ) : void
other BoundingBox
return void

GetHashCode() public method

public GetHashCode ( ) : int
return int

Intersects() public method

public Intersects ( BoundingBox other ) : bool
other BoundingBox
return bool

ToString() public method

public ToString ( ) : string
return string