C# Class Spatial4n.Core.Shapes.Nts.NtsPoint

Wraps a {@link com.vividsolutions.jts.geom.Point}.
Inheritance: System.Point
Exibir arquivo Open project: synhershko/Spatial4n

Public Methods

Method Description
Equals ( Object o ) : bool
GetArea ( SpatialContext ctx ) : double
GetBoundingBox ( ) : Rectangle
GetCenter ( ) : System.Point
GetGeom ( ) : IPoint
GetHashCode ( ) : int
GetX ( ) : double
GetY ( ) : double
HasArea ( ) : bool
NtsPoint ( IPoint pointGeom, SpatialContext ctx ) : System

A simple constructor without normalization / validation.

Relate ( Shape other ) : SpatialRelation
Reset ( double x, double y ) : void
ToString ( ) : String

Method Details

Equals() public method

public Equals ( Object o ) : bool
o Object
return bool

GetArea() public method

public GetArea ( SpatialContext ctx ) : double
ctx Spatial4n.Core.Context.SpatialContext
return double

GetBoundingBox() public method

public GetBoundingBox ( ) : Rectangle
return Rectangle

GetCenter() public method

public GetCenter ( ) : System.Point
return System.Point

GetGeom() public method

public GetGeom ( ) : IPoint
return IPoint

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetX() public method

public GetX ( ) : double
return double

GetY() public method

public GetY ( ) : double
return double

HasArea() public method

public HasArea ( ) : bool
return bool

NtsPoint() public method

A simple constructor without normalization / validation.
public NtsPoint ( IPoint pointGeom, SpatialContext ctx ) : System
pointGeom IPoint
ctx Spatial4n.Core.Context.SpatialContext
return System

Relate() public method

public Relate ( Shape other ) : SpatialRelation
other Shape
return SpatialRelation

Reset() public method

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

ToString() public method

public ToString ( ) : String
return String