C# Class SharpMap.Geometries.Point3D

Inheritance: System.Point
Exibir arquivo Open project: jumpinjackie/fdotoolbox Class Usage Examples

Public Methods

Method Description
Clone ( ) : Point3D

This method must be overridden using 'public new [derived_data_type] Clone()'

CompareTo ( Point3D other ) : int

Comparator used for ordering point first by ascending X, then by ascending Y and then by ascending Z.

Distance ( Geometry geom ) : double

Returns the distance between this geometry instance and another geometry, as measured in the spatial reference system of this instance.

Equals ( Point3D p ) : bool

Checks whether this instance is spatially equal to the Point 'o'

Equals ( Point3D p1, Point3D p2 ) : bool

Checks whether the two points are spatially equal

GetHashCode ( ) : int

Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.

Point3D ( ) : System

Initializes a new Point at (0,0)

Point3D ( System.Point p, double z ) : System

Initializes a new Point

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

Initializes a new Point

operator ( ) : Point3D

Vector * Scalar

this ( uint index ) : double

Returns part of coordinate. Index 0 = X, Index 1 = Y, , Index 2 = Z

Method Details

Clone() public method

This method must be overridden using 'public new [derived_data_type] Clone()'
public Clone ( ) : Point3D
return Point3D

CompareTo() public method

Comparator used for ordering point first by ascending X, then by ascending Y and then by ascending Z.
public CompareTo ( Point3D other ) : int
other Point3D
return int

Distance() public method

Returns the distance between this geometry instance and another geometry, as measured in the spatial reference system of this instance.
public Distance ( Geometry geom ) : double
geom Geometry
return double

Equals() public method

Checks whether this instance is spatially equal to the Point 'o'
public Equals ( Point3D p ) : bool
p Point3D Point to compare to
return bool

Equals() public method

Checks whether the two points are spatially equal
public Equals ( Point3D p1, Point3D p2 ) : bool
p1 Point3D Point 1
p2 Point3D Point 2
return bool

GetHashCode() public method

Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
public GetHashCode ( ) : int
return int

Point3D() public method

Initializes a new Point at (0,0)
public Point3D ( ) : System
return System

Point3D() public method

Initializes a new Point
public Point3D ( System.Point p, double z ) : System
p System.Point 2D Point
z double Z coordinate
return System

Point3D() public method

Initializes a new Point
public Point3D ( double x, double y, double z ) : System
x double X coordinate
y double Y coordinate
z double Z coordinate
return System

operator() public static method

Vector * Scalar
public static operator ( ) : Point3D
return Point3D

this() public method

Returns part of coordinate. Index 0 = X, Index 1 = Y, , Index 2 = Z
public this ( uint index ) : double
index uint
return double