Create StinomDrawXE object (view point, view at point,
x dimension, y dimension, z dimension, point capacity, shape capacity);
//Begin draw loop
StinomDrawXE.addPoint(3 or more dimensional point);
StinomDrawXE.addPoint(3 or more dimensional point);
...
StinomDrawXE.addShape(Set of points to use);
StinomDrawXE.addShape(Set of points to use);
...
StinomDrawXE.set2dPoints(thing to multiply before rounding for precision,
whether to round for precision, how much off values can be and viewable);
//No parameters except as already in StinomXE.
StinomDrawXE.setDrawOrder();
StinomDrawXE.reverseX() and/or StinomDrawXE.reverseY();
StinomDrawXE.offset(two offsets of x and yon view plane);
Integer index = StinomDrawXE.shapeIndex-1;
while (index != -1) {
if (All points to consider are not null or size of 0 or undefined) {
Draw StinomDrawXE.points2d[StinomDrawXE.shapes[StinomDrawXE.drawOrder[index]][0]],
StinomDrawXE.points2d[StinomDrawXE.shapes[StinomDrawXE.drawOrder[index]][1]],
...
Until you have drawn all at z correctly.
}
index decrement by one.
}
StinomDrawXE.reset();
//End draw loop.
StinomXE is a 3 or more dimensional drawing to 2d surfaces math library. StinomXE only draws straight line, closed, and not self intersecting planar figures, lines, and points. It is with view locked to dimension axes. You can still change view point (you view at) and view at point (center of view plane) dynamics though. StinomXE has no cutters and draw order is only on average. That means that you don't get slices of 4d or more showing as part of a shape and shapes are either entirely in front or behind each other. That is not accurate as a 3d+ system.
StinomXE gets 2d points and how to draw from 3 or more dimensional points. Points are arrays of size of number of dimensions it should be in. StinomXE represents in 2d or as (null or zero size) depending on whether a point can be drawn. You must check for that for all points of shape you want to draw for and not draw as excluded. StinomXE excludes partly not drawable shapes from draw order but still sets a draw order for them after all other drawable shapes.
This library set is for 3 or more dimensional up to any number of dimensions where only 5 or less dimensions is common. This drawing library operates on averages, standard rasterization and A-buffers goes point by point. That point by point should be not only just to arbitrary precision but also slower. 4d+ requires exactness and precision to work correctly for us 3d beings viewing through a 2d screen.