Is there Point3D?



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.

Answered By – Soner Gönül

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More