C# Class Accord.Math.Point3

Afficher le fichier Open project: accord-net/framework Class Usage Examples

Méthodes publiques

Méthode Description
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 !=.

Method Details

Collinear() public static méthode

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

Equals() public méthode

Determines whether the specified Point3 is equal to this instance.
public Equals ( Point3 other ) : bool
other Point3 The to compare with this instance.
Résultat bool

Equals() public méthode

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

Equals() public méthode

Determines whether the specified System.Object is equal to this instance.
public Equals ( object obj ) : bool
obj object The to compare with this instance.
Résultat bool

FromVector() public static méthode

Performs a conversion from Accord.Math.Vector3 to Accord.Math.Point3.
public static FromVector ( Vector3 vector ) : Point3
vector Vector3
Résultat Point3

GetHashCode() public méthode

Returns a hash code for this instance.
public GetHashCode ( ) : int
Résultat int

Point3() public méthode

Creates a new Point3 structure from the given coordinates.
public Point3 ( Vector3 coordinates ) : System
coordinates Vector3 The point coordinates.
Résultat System

Point3() public méthode

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.
Résultat System

operator() public static méthode

Implements the operator !=.
public static operator ( ) : bool
Résultat bool