Tools to edit MolaMesh. More...
Static Public Member Functions | |
static MolaMesh | Color (MolaMesh molaMesh, List< float > values) |
Color each face of a MolaMesh with a list of float values. | |
static MolaMesh | Color (MolaMesh molaMesh, System.Drawing.Color color) |
Color all faces of a MolaMesh. | |
static bool[] | FaceMask (List< float > values, Predicate< float > filter) |
Get a boolean array from a float value list based on the input filter condition. | |
static MolaMesh | Merge (List< MolaMesh > molaMeshes) |
Merge a list of MolaMesh into one. | |
static MolaMesh | Offset (MolaMesh mesh, float offset, bool closeborders=true, bool constrainZ=false) |
Creates an offset of a mesh. | |
static List< MolaMesh > | Split (MolaMesh molaMesh, bool[] mask) |
Divide a MolaMesh into 2 based on the boolean mask. | |
static List< MolaMesh > | Split (MolaMesh molaMesh, List< bool > mask) |
Divide a MolaMesh into 2 based on the boolean mask. | |
static MolaMesh | UpdateTopology (MolaMesh molaMesh) |
Update the topology of a MolaMesh. | |
static MolaMesh | WeldVertices (MolaMesh molaMesh) |
Weld overlapping vertices of a MolaMesh. | |
Tools to edit MolaMesh.
Color each face of a MolaMesh with a list of float values.
The list length must match the face count.
molaMesh | A MolaMesh |
values | A list of float values |
Color all faces of a MolaMesh.
molaMesh | A MolaMesh |
color | System.Drawing.Color |
Get a boolean array from a float value list based on the input filter condition.
values | A float list |
filter | A Predicate |
Merge a list of MolaMesh into one.
molaMeshes | A list of MolaMesh |
|
inlinestatic |
Creates an offset of a mesh.
If doclose
is true
, it will create quad faces along the naked edges of an open input mesh.
mesh | A MolaMesh |
offset | Offset distance |
closeborders | Wether to close the borders or not |
constrainZ |
Divide a MolaMesh into 2 based on the boolean mask.
molaMesh | A MolaMesh |
mask | A boolean array |
Divide a MolaMesh into 2 based on the boolean mask.
molaMesh | A MolaMesh |
mask | A boolean array |
Update the topology of a MolaMesh.
molaMesh | A MolaMesh |