﻿ Point3 Structure

# Point3 Structure

3D point structure with X, Y, and coordinates.

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
```[SerializableAttribute]
public struct Point3```

The Point3 type exposes the following members.

Constructors
NameDescription
Point3(Vector3)
Creates a new Point3 structure from the given coordinates.
Point3(Single, Single, Single)
Creates a new Point3 structure from the given coordinates.
Top
Properties
NameDescription
Origin
Gets the point at the 3D space origin: (0, 0, 0)
X
Gets or sets the point's X coordinate.
Y
Gets or sets the point's Y coordinate.
Z
Gets or sets the point's Z coordinate.
Top
Methods
NameDescription
Collinear
Gets whether three points lie on the same line.
Equals(Object)
Determines whether the specified Object is equal to this instance.
(Overrides ValueTypeEquals(Object).)
Equals(Point3)
Determines whether the specified Point3 is equal to this instance.
Equals(Point3, Double)
Determines whether the specified Point3 is equal to this instance.
FromVector
Performs a conversion from Vector3 to Point3.
GetHashCode
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
ToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Operators
NameDescription
Equality
Implements the operator !=.
(Point3 to Vector3)
Performs an implicit conversion from Point3 to Vector3.
(Vector3 to Point3)
Performs an implicit conversion from Point3 to Point3.
Inequality
Implements the operator !=.
Top
Extension Methods
NameDescription
HasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
IsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)