forked from PeterWaher/IoTGateway
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIPainter3D.cs
More file actions
27 lines (26 loc) · 1.13 KB
/
IPainter3D.cs
File metadata and controls
27 lines (26 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
using System;
using System.Numerics;
using Waher.Script.Graphs;
namespace Waher.Script.Graphs3D
{
/// <summary>
/// Interface for 3D graph drawing functions.
/// </summary>
public interface IPainter3D : IPainter
{
/// <summary>
/// Draws the graph on a canvas.
/// </summary>
/// <param name="Canvas">Canvas to draw on.</param>
/// <param name="Points">Points to draw.</param>
/// <param name="Normals">Optional normals.</param>
/// <param name="Parameters">Graph-specific parameters.</param>
/// <param name="PrevPoints">Points of previous graph of same type (if available), null (if not available).</param>
/// <param name="PrevNormals">Optional normals of previous graph of same type (if available), null (if not available).</param>
/// <param name="PrevParameters">Parameters of previous graph of same type (if available), null (if not available).</param>
/// <param name="DrawingVolume">Current drawing volume.</param>
void DrawGraph(Canvas3D Canvas, Vector4[,] Points,
Vector4[,] Normals, object[] Parameters, Vector4[,] PrevPoints,
Vector4[,] PrevNormals, object[] PrevParameters, DrawingVolume DrawingVolume);
}
}