Raises a pyramid of the same height on every cell of a U by V grid over each face.
Each face is split evenly across its UV range into uNumber by vNumber cells. A cell's apex sits
height model units from its center along the averaged surface normal, so a negative height points
against the normal. It computes only for members of the Silver and Gold plans.
The faces, the cell counts along U and V, the pyramid height and the drawing precision
A pyramid model holding the compound of all pyramids and, per face, its cells and grid polylines
Raises a pyramid on every cell of a U by V grid over each face, with heights shaped by attractor points.
A cell whose center lies within an affector's radius gains between affectMinHeight for the farthest
and affectMaxHeight for the closest affected cell, eased and scaled by the affector's factor, on top
of defaultHeight; several affectors add up. It computes only for members of the Silver and Gold
plans.
The faces, cell counts, affectors with their radii and factors, height range and precision
A pyramid model holding the compound of all pyramids and, per face, its cells and grid polylines
Returns the cell at one U and V index on one face of a pyramid model.
uIndex and vIndex count cells from 0 and must stay below the uNumber and vNumber the model was
created with. A face or cell index out of range throws.
A pyramid model, the 0-based face index and the cell's U and V indexes
The cell with its points and shapes
Returns the cells of every face of a pyramid model as one flat list, face after face.
Each cell holds its U and V index, its corner, center and apex points and its shapes; pass the list, or part of it, to the getters that read from cells.
A pyramid model from one of the create methods
The cells of all faces
Returns the cells of one face of a pyramid model.
Cells are ordered by U index and then by V index within it. An index past the last face throws.
A pyramid model and the 0-based face index
The cells of that face
Returns the cells of one face of a pyramid model, the same list getAllPyramidCellsOnFace returns.
Cells are ordered by U index and then by V index within it. An index past the last face throws.
A pyramid model and the 0-based face index
The cells of that face
Returns the cells of one face that share a U index, a row of cells running along V.
The cells come in V order, and a U index with no cells gives an empty list. An index past the last face throws.
A pyramid model, the 0-based face index and the U index of the row
The cells at that U index
Returns the cells of one face that share a V index, a row of cells running along U.
The cells come in U order, and a V index with no cells gives an empty list. An index past the last face throws.
A pyramid model, the 0-based face index and the V index of the row
The cells at that V index
Returns the apex point of each given cell.
The apex lies above the cell's center along the averaged surface normal, at the cell's pyramid height.
The cells to read
One apex point per cell
Returns the center of each given cell, the average of its four corner points.
On a curved face this average can sit slightly off the surface.
The cells to read
One center point per cell
Returns the four corner points of each given cell.
Corner 1 sits at the cell's own U and V step, corner 2 one step further along U, corner 3 one step further along both and corner 4 one step further along V, so the corners go around the cell.
The cells to read
Four corner points per cell
Returns one chosen corner point of each given cell.
index 0 to 3 picks corners 1 to 4, in the order getCornerPointsOfCells returns them; any other
index throws.
The cells and the 0-based corner index
One corner point per cell
Returns the surface normal stored at one chosen corner of each given cell.
index 0 to 3 picks corners 1 to 4, in the order getCornerPointsOfCells returns them. Any other
index, or a cell without that normal, throws.
The cells and the 0-based corner index
One normal per cell
Returns the surface normals stored at the corners of each given cell.
The normals follow the corner order of getCornerPointsOfCells, and a corner without a stored normal
is left out of its cell's list.
The cells to read
The corner normals of each cell
Returns the pyramid of each given cell as a compound of its triangular sides.
The cells to read
One compound per cell
Returns one triangular side of each given cell's pyramid.
index 0 to 3 picks the side standing on the cell edge from corner 1 to 2, from 2 to 3, from 3 to 4 or
from 4 to 1. A side whose two corners coincide, as where a face narrows to a point, is not built, and
asking for it throws, as does any other index.
The cells and the 0-based side index
One triangular face per cell
Returns the closed triangular outline of one side of each given cell's pyramid.
index picks the side as in getFaceShapesOfCells. A side whose two corners coincide has no outline,
and asking for it throws, as does an index outside 0 to 3.
The cells and the 0-based side index
One closed wire per cell
Returns the grid polyline at the start of a face's U range, running along V.
It joins the vNumber plus one grid points that share the lowest U value. An index past the last face
throws.
A pyramid model and the 0-based face index
A polyline wire
Returns the grid polyline at the end of a face's U range, running along V.
It joins the vNumber plus one grid points that share the highest U value. An index past the last face
throws.
A pyramid model and the 0-based face index
A polyline wire
Returns the grid polyline at the start of a face's V range, running along U.
It joins the uNumber plus one grid points that share the lowest V value. An index past the last face
throws.
A pyramid model and the 0-based face index
A polyline wire
Returns the grid polyline at the end of a face's V range, running along U.
It joins the uNumber plus one grid points that share the highest V value. An index past the last face
throws.
A pyramid model and the 0-based face index
A polyline wire
Returns every grid polyline of constant U on a face, each running along V, as one compound.
There are uNumber plus one of them, one per grid line. An index past the last face throws.
A pyramid model and the 0-based face index
A compound of polyline wires
Returns every grid polyline of constant V on a face, each running along U, as one compound.
There are vNumber plus one of them, one per grid line. An index past the last face throws.
A pyramid model and the 0-based face index
A compound of polyline wires
Returns the single compound that holds every pyramid on every face of a pyramid model.
A pyramid model from one of the create methods
The compound of all pyramids
Returns the compound of the pyramids on one face of a pyramid model.
Faces are counted from 0 in the order they were given to the create method. An index past the last face throws.
A pyramid model and the 0-based face index
The compound of the pyramids on that face
Returns the pyramid of one cell on one face as a compound of its triangular sides.
uIndex and vIndex count cells from 0 and must stay below the uNumber and vNumber the model was
created with. A face or cell index out of range throws.
A pyramid model, the 0-based face index and the cell's U and V indexes
The compound of the cell's pyramid
Covers faces with four-sided pyramids that follow the surface, one per cell of a U by V grid laid evenly over each face's UV range. The create methods return a pyramid model; the getters read from it the compound of all pyramids, the cells of each face with their points and triangles, and the polylines of the grid. The cell getters take a list of cells, which
getAllPyramidCellsand its siblings return.