45 строки
862 B
C#
45 строки
862 B
C#
// ******** experimental ********
|
|
/*
|
|
using System;
|
|
|
|
namespace NPlot
|
|
{
|
|
|
|
/// <summary>
|
|
/// Represtents a point in three-dimensional space. Used for representation
|
|
/// of points world coordinates.
|
|
/// </summary>
|
|
public struct PointD3D
|
|
{
|
|
|
|
/// <summary>
|
|
/// X-Coordinate of the point.
|
|
/// </summary>
|
|
public double X;
|
|
|
|
/// <summary>
|
|
/// Y-Coordinate of the point.
|
|
/// </summary>
|
|
public double Y;
|
|
|
|
/// <summary>
|
|
/// Z-Coordinate of the point.
|
|
/// </summary>
|
|
public double Z;
|
|
|
|
/// <summary>
|
|
/// Constructor
|
|
/// </summary>
|
|
/// <param name="x">X-Coordinate of the point.</param>
|
|
/// <param name="y">Y-Coordinate of the point.</param>
|
|
/// <param name="z">Z-Coordinate of the point.</param>
|
|
public PointD3D( double x, double y, double z )
|
|
{
|
|
X = x;
|
|
Y = y;
|
|
Z = z;
|
|
}
|
|
|
|
}
|
|
}
|
|
*/ |