Is there a built in type Point3 in .Net? Some kind of this
public class Point3D
{
public double X { get; set; }
public double Y { get; set; }
public double Z { get; set; }
}
but built in. It is not hard to implement it myself, but..
System.Windows.Forms.DataVisualization.Charting
has Point3D
class.
Represents the coordinates of a three-dimensional (3D) data point. This class is used when performing custom drawing with 3D charts.
- X Gets or sets the X coordinate of a 3D point.
- Y Gets or sets the Y coordinate of a 3D point.
- Z Gets or sets the Z coordinate of a 3D point.
Also has Point3D
structure.
Represents an x-, y-, and z-coordinate point in 3-D space.
System.Windows.Forms.DataVisualization.Charting
has a class
Point3D
float X, Y, Z
System.Windows.Media.Media3D
has a struct
Point3D
double X, Y, Z
I know that Vector3D is not a Point3D, but if you just want a struct
with X, Y, Z:
System.Windows.Media.Media3D
has a struct
Vector3D
double X, Y, Z
System.Numerics
has a struct
Vector3
float X, Y, Z
Only System.Numerics.Vector3
does NOT depend on WinForms or WPF!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With