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

A circle, also known as a point-radius, based on a {@link com.spatial4j.core.distance.DistanceCalculator} which does all the work. This implementation implementation should work for both cartesian 2D and geodetic sphere surfaces.
상속: Circle
파일 보기 프로젝트 열기: synhershko/Spatial4n

보호된 프로퍼티들

프로퍼티 타입 설명
ctx Spatial4n.Core.Context.SpatialContext
enclosingBox Rectangle
point System.Point
radiusDEG double

공개 메소드들

메소드 설명
CircleImpl ( System.Point p, double radiusDEG, SpatialContext ctx ) : System
Contains ( double x, double y ) : bool
Equals ( Circle thiz, Object o ) : bool
Equals ( object obj ) : bool
GetArea ( SpatialContext ctx ) : double
GetBoundingBox ( ) : Rectangle
GetCenter ( ) : System.Point
GetHashCode ( ) : int
GetHashCode ( Circle thiz ) : int

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

GetRadius ( ) : double
HasArea ( ) : bool
Relate ( Circle circle ) : SpatialRelation
Relate ( System.Point point ) : SpatialRelation
Relate ( Rectangle r ) : SpatialRelation
Relate ( Shape other ) : SpatialRelation
Reset ( double x, double y, double radiusDEG ) : void
ToString ( ) : string

보호된 메소드들

메소드 설명
GetXAxis ( ) : double

The X coordinate of where the circle axis intersect.

GetYAxis ( ) : double

The Y coordinate of where the circle axis intersect.

RelateRectanglePhase2 ( Rectangle r, SpatialRelation bboxSect ) : SpatialRelation

메소드 상세

CircleImpl() 공개 메소드

public CircleImpl ( System.Point p, double radiusDEG, SpatialContext ctx ) : System
p System.Point
radiusDEG double
ctx Spatial4n.Core.Context.SpatialContext
리턴 System

Contains() 공개 메소드

public Contains ( double x, double y ) : bool
x double
y double
리턴 bool

Equals() 공개 정적인 메소드

public static Equals ( Circle thiz, Object o ) : bool
thiz Circle
o Object
리턴 bool

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj 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 Circle} implementations should use this definition of {@link Object#hashCode()}.
public static GetHashCode ( Circle thiz ) : int
thiz Circle
리턴 int

GetRadius() 공개 메소드

public GetRadius ( ) : double
리턴 double

GetXAxis() 보호된 메소드

The X coordinate of where the circle axis intersect.
protected GetXAxis ( ) : double
리턴 double

GetYAxis() 보호된 메소드

The Y coordinate of where the circle axis intersect.
protected GetYAxis ( ) : double
리턴 double

HasArea() 공개 메소드

public HasArea ( ) : bool
리턴 bool

Relate() 공개 메소드

public Relate ( Circle circle ) : SpatialRelation
circle Circle
리턴 SpatialRelation

Relate() 공개 메소드

public Relate ( System.Point point ) : SpatialRelation
point System.Point
리턴 SpatialRelation

Relate() 공개 메소드

public Relate ( Rectangle r ) : SpatialRelation
r Rectangle
리턴 SpatialRelation

Relate() 공개 메소드

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

RelateRectanglePhase2() 보호된 메소드

protected RelateRectanglePhase2 ( Rectangle r, SpatialRelation bboxSect ) : SpatialRelation
r Rectangle
bboxSect SpatialRelation
리턴 SpatialRelation

Reset() 공개 메소드

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

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

프로퍼티 상세

ctx 보호되어 있는 프로퍼티

protected SpatialContext,Spatial4n.Core.Context ctx
리턴 Spatial4n.Core.Context.SpatialContext

enclosingBox 보호되어 있는 프로퍼티

protected Rectangle enclosingBox
리턴 Rectangle

point 보호되어 있는 프로퍼티

protected Point,System point
리턴 System.Point

radiusDEG 보호되어 있는 프로퍼티

protected double radiusDEG
리턴 double