C# Класс SharpMap.Geometries.Point3D

Наследование: System.Point
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

Clone() публичный Метод

This method must be overridden using 'public new [derived_data_type] Clone()'
public Clone ( ) : Point3D
Результат Point3D

CompareTo() публичный Метод

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
Результат int

Distance() публичный Метод

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
Результат double

Equals() публичный Метод

Checks whether this instance is spatially equal to the Point 'o'
public Equals ( Point3D p ) : bool
p Point3D Point to compare to
Результат bool

Equals() публичный Метод

Checks whether the two points are spatially equal
public Equals ( Point3D p1, Point3D p2 ) : bool
p1 Point3D Point 1
p2 Point3D Point 2
Результат bool

GetHashCode() публичный Метод

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
Результат int

Point3D() публичный Метод

Initializes a new Point at (0,0)
public Point3D ( ) : System
Результат System

Point3D() публичный Метод

Initializes a new Point
public Point3D ( System.Point p, double z ) : System
p System.Point 2D Point
z double Z coordinate
Результат System

Point3D() публичный Метод

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
Результат System

operator() публичный статический Метод

Vector * Scalar
public static operator ( ) : Point3D
Результат Point3D

this() публичный Метод

Returns part of coordinate. Index 0 = X, Index 1 = Y, , Index 2 = Z
public this ( uint index ) : double
index uint
Результат double