C# Класс Accord.Math.Point3

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Collinear ( Point3 p1, Point3 p2, Point3 p3 ) : bool

Gets whether three points lie on the same line.

Equals ( Point3 other ) : bool

Determines whether the specified Point3 is equal to this instance.

Equals ( Point3 other, double tolerance ) : bool

Determines whether the specified Point3 is equal to this instance.

Equals ( object obj ) : bool

Determines whether the specified System.Object is equal to this instance.

FromVector ( Vector3 vector ) : Point3

Performs a conversion from Accord.Math.Vector3 to Accord.Math.Point3.

GetHashCode ( ) : int

Returns a hash code for this instance.

Point3 ( Vector3 coordinates ) : System

Creates a new Point3 structure from the given coordinates.

Point3 ( float x, float y, float z ) : System

Creates a new Point3 structure from the given coordinates.

operator ( ) : bool

Implements the operator !=.

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

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

Gets whether three points lie on the same line.
public static Collinear ( Point3 p1, Point3 p2, Point3 p3 ) : bool
p1 Point3 The first point.
p2 Point3 The second point.
p3 Point3 The third point.
Результат bool

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

Determines whether the specified Point3 is equal to this instance.
public Equals ( Point3 other ) : bool
other Point3 The to compare with this instance.
Результат bool

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

Determines whether the specified Point3 is equal to this instance.
public Equals ( Point3 other, double tolerance ) : bool
other Point3 The to compare with this instance.
tolerance double The acceptance tolerance threshold to consider the instances equal.
Результат bool

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

Determines whether the specified System.Object is equal to this instance.
public Equals ( object obj ) : bool
obj object The to compare with this instance.
Результат bool

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

Performs a conversion from Accord.Math.Vector3 to Accord.Math.Point3.
public static FromVector ( Vector3 vector ) : Point3
vector Vector3
Результат Point3

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

Returns a hash code for this instance.
public GetHashCode ( ) : int
Результат int

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

Creates a new Point3 structure from the given coordinates.
public Point3 ( Vector3 coordinates ) : System
coordinates Vector3 The point coordinates.
Результат System

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

Creates a new Point3 structure from the given coordinates.
public Point3 ( float x, float y, float z ) : System
x float The x coordinate.
y float The y coordinate.
z float The z coordinate.
Результат System

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

Implements the operator !=.
public static operator ( ) : bool
Результат bool