C# Class MapAround.Geometry.Coordinate3D

Afficher le fichier Open project: gkrsu/maparound.core Class Usage Examples

Méthodes publiques

Méthode Description
Clone ( ) : object

Creates a new object that is a 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.

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).

Private Methods

Méthode Description
Coordinate3D ( double coords ) : System

Initializes a new instance of MapAround.Geometry.Coordinate3D.

Coordinate3D ( double x, double y ) : System

Initializes a new instance of MapAround.Geometry.Coordinate3D.

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

Initializes a new instance of MapAround.Geometry.Coordinate3D.

Method Details

Clone() public méthode

Creates a new object that is a copy of the current instance.
public Clone ( ) : object
Résultat object

Equals() public méthode

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
Résultat bool

Equals() public méthode

Derived from System.Object.
public Equals ( object o ) : bool
o object The System.Object to compare with the current MapAround.Geometry.Coordinate
Résultat bool

ExactEquals() public méthode

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
Résultat bool

GetBoundingRectangle() public méthode

Calculates a minimal axis-aligned bounding rectangle.
public GetBoundingRectangle ( ) : BoundingRectangle
Résultat BoundingRectangle

GetHashCode() public méthode

Derived from System.Object.
public GetHashCode ( ) : int
Résultat int

ReadOnlyCopy() public méthode

Creates a read only copy of this object.
public ReadOnlyCopy ( ) : ICoordinate
Résultat ICoordinate

Translate() public méthode

Adds a values to X and Y coordinates.
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
Résultat void

Values() public méthode

Gets an array containing coordinate values.
public Values ( ) : double[]
Résultat double[]

operator() public static méthode

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