C# 클래스 Spatial4n.Core.Shapes.Impl.PointImpl

A basic 2D implementation of a Point.
상속: System.Point
파일 보기 프로젝트 열기: synhershko/Spatial4n 1 사용 예제들

공개 메소드들

메소드 설명
Equals ( System.Point thiz, Object o ) : bool

All {@link Point} implementations should use this definition of {@link Object#equals(Object)}.

Equals ( object o ) : bool
GetArea ( SpatialContext ctx ) : double
GetBoundingBox ( ) : Rectangle
GetCenter ( ) : System.Point
GetHashCode ( ) : int
GetHashCode ( System.Point thiz ) : int

All {@link Point} implementations should use this definition of {@link Object#hashCode()}.

GetX ( ) : double
GetY ( ) : double
HasArea ( ) : bool
PointImpl ( double x, double y, SpatialContext ctx ) : System

A simple constructor without normalization / validation.

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

메소드 상세

Equals() 공개 정적인 메소드

All {@link Point} implementations should use this definition of {@link Object#equals(Object)}.
public static Equals ( System.Point thiz, Object o ) : bool
thiz System.Point
o Object
리턴 bool

Equals() 공개 메소드

public Equals ( object o ) : bool
o object
리턴 bool

GetArea() 공개 메소드

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

GetBoundingBox() 공개 메소드

public GetBoundingBox ( ) : Rectangle
리턴 Rectangle

GetCenter() 공개 메소드

public GetCenter ( ) : System.Point
리턴 System.Point

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

GetHashCode() 공개 정적인 메소드

All {@link Point} implementations should use this definition of {@link Object#hashCode()}.
public static GetHashCode ( System.Point thiz ) : int
thiz System.Point
리턴 int

GetX() 공개 메소드

public GetX ( ) : double
리턴 double

GetY() 공개 메소드

public GetY ( ) : double
리턴 double

HasArea() 공개 메소드

public HasArea ( ) : bool
리턴 bool

PointImpl() 공개 메소드

A simple constructor without normalization / validation.
public PointImpl ( double x, double y, SpatialContext ctx ) : System
x double
y double
ctx Spatial4n.Core.Context.SpatialContext
리턴 System

Relate() 공개 메소드

public Relate ( Shape other ) : SpatialRelation
other Shape
리턴 SpatialRelation

Reset() 공개 메소드

public Reset ( double x, double y ) : void
x double
y double
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string