C# 클래스 MapAround.Geometry.ReadOnlyCoordinate3D

파일 보기 프로젝트 열기: gkrsu/maparound.core

공개 메소드들

메소드 설명
Clone ( ) : object

Creates a new Coordinate3D instance that is a changeable copy of the current instance.

Equals ( ICoordinate p ) : bool

Gets a value indicating whether this coordinate is equal to another. Comparisions performs with tolerance value stored in MapAround.Geometry.PlanimetryAlgorithms.Tolerance. Z values are not compared.

Equals ( object o ) : bool

Derived from System.Object.

ExactEquals ( ICoordinate p ) : bool

Gets a value indicating whether this coordinate instance is equal to another. Comparisions performs exactly (used zero tolerance value). Z values are not compared.

GetBoundingRectangle ( ) : BoundingRectangle

Calculates a minimal axis-aligned bounding rectangle.

GetHashCode ( ) : int

Derived from System.Object.

ReadOnlyCopy ( ) : ICoordinate

Creates a read only copy of this object.

Translate ( double x, double y ) : void

Adds a values to X and Y coordinates. This implementation always throw an InvalidOperationException.

Values ( ) : double[]

Gets an array containing coordinate values.

operator ( ) : bool

Returns true if coordinates are equal (used tolerance value stored in MapAround.Geometry.PlanimetryAlgorithms.Tolerance).

비공개 메소드들

메소드 설명
ReadOnlyCoordinate3D ( double coords ) : System

Initializes a new instance of MapAround.Geometry.ReadOnlyCoordinate3D.

ReadOnlyCoordinate3D ( double x, double y ) : System

Initializes a new instance of MapAround.Geometry.ReadOnlyCoordinate3D.

ReadOnlyCoordinate3D ( double x, double y, double z ) : System

Initializes a new instance of MapAround.Geometry.ReadOnlyCoordinate3D.

메소드 상세

Clone() 공개 메소드

Creates a new Coordinate3D instance that is a changeable copy of the current instance.
public Clone ( ) : object
리턴 object

Equals() 공개 메소드

Gets a value indicating whether this coordinate is equal to another. Comparisions performs with tolerance value stored in MapAround.Geometry.PlanimetryAlgorithms.Tolerance. Z values are not compared.
public Equals ( ICoordinate p ) : bool
p ICoordinate The MapAround.Geometry.ICoordinate implementor to compare with the current object
리턴 bool

Equals() 공개 메소드

Derived from System.Object.
public Equals ( object o ) : bool
o object The System.Object to compare with the current MapAround.Geometry.PointD
리턴 bool

ExactEquals() 공개 메소드

Gets a value indicating whether this coordinate instance is equal to another. Comparisions performs exactly (used zero tolerance value). Z values are not compared.
public ExactEquals ( ICoordinate p ) : bool
p ICoordinate The MapAround.Geometry.ICoordinate implementor to compare with the current object
리턴 bool

GetBoundingRectangle() 공개 메소드

Calculates a minimal axis-aligned bounding rectangle.
public GetBoundingRectangle ( ) : BoundingRectangle
리턴 BoundingRectangle

GetHashCode() 공개 메소드

Derived from System.Object.
public GetHashCode ( ) : int
리턴 int

ReadOnlyCopy() 공개 메소드

Creates a read only copy of this object.
public ReadOnlyCopy ( ) : ICoordinate
리턴 ICoordinate

Translate() 공개 메소드

Adds a values to X and Y coordinates. This implementation always throw an InvalidOperationException.
Throws always
public Translate ( double x, double y ) : void
x double The value that will be added to X coordinate
y double The value that will be added to Y coordinate
리턴 void

Values() 공개 메소드

Gets an array containing coordinate values.
public Values ( ) : double[]
리턴 double[]

operator() 공개 정적인 메소드

Returns true if coordinates are equal (used tolerance value stored in MapAround.Geometry.PlanimetryAlgorithms.Tolerance).
public static operator ( ) : bool
리턴 bool