diff --git a/annotated.html b/annotated.html new file mode 100644 index 0000000..8122e0a --- /dev/null +++ b/annotated.html @@ -0,0 +1,97 @@ + + +
+ + + + +▼NMola | |
CMeshFactory | Mola Premitives |
CMeshSubdivision | Subdivision Methods |
CMolaGrid | A GridManager is taking care of getting and setting values and retrieving neighbors in an orthogonal grid of either 2 or 3 dimension |
This is the complete list of members for Mola.MeshAnalysis, including all inherited members.
+FaceArea(MolaMesh molaMesh) (defined in Mola.MeshAnalysis) | Mola.MeshAnalysis | inlinestatic |
FaceCompactness(MolaMesh molaMesh) (defined in Mola.MeshAnalysis) | Mola.MeshAnalysis | inlinestatic |
FaceIndex(MolaMesh molaMesh) (defined in Mola.MeshAnalysis) | Mola.MeshAnalysis | inlinestatic |
FaceLocation(MolaMesh molaMesh) (defined in Mola.MeshAnalysis) | Mola.MeshAnalysis | inlinestatic |
FaceModulo(MolaMesh molaMesh, int modulo=5, int n=4) (defined in Mola.MeshAnalysis) | Mola.MeshAnalysis | inlinestatic |
FaceNormal(MolaMesh molaMesh) (defined in Mola.MeshAnalysis) | Mola.MeshAnalysis | inlinestatic |
FacePerimeter(MolaMesh molaMesh) (defined in Mola.MeshAnalysis) | Mola.MeshAnalysis | inlinestatic |
+Static Public Member Functions | |
+static List< float > | FaceArea (MolaMesh molaMesh) |
+static List< float > | FaceCompactness (MolaMesh molaMesh) |
+static List< int > | FaceIndex (MolaMesh molaMesh) |
+static List< Vec3 > | FaceLocation (MolaMesh molaMesh) |
+static List< bool > | FaceModulo (MolaMesh molaMesh, int modulo=5, int n=4) |
+static List< Vec3 > | FaceNormal (MolaMesh molaMesh) |
+static List< float > | FacePerimeter (MolaMesh molaMesh) |
This is the complete list of members for MeshFactory, including all inherited members.
+CreateBox(float x1, float y1, float z1, float x2, float y2, float z2, Color? color=null) | MeshFactory | inlinestatic |
CreateCircle(float x, float y, float z, float radius, int nSegments, Color? color=null) | MeshFactory | inlinestatic |
CreateCone(Vec3 a, Vec3 b, int segments, float radius1, float radius2, bool capTop=true, bool capBottom=true, Color? color=null) | MeshFactory | inlinestatic |
CreateCone(float z1, float z2, float radius1, float radius2, int nSegments, bool capBottom=true, bool capTop=true, Color? color=null) | MeshFactory | inlinestatic |
CreateDodecahedron(float radius=1, float cx=0, float cy=0, float cz=0, Color? color=null) | MeshFactory | inlinestatic |
CreateIcosahedron(float radius=1, float cx=0, float cy=0, float cz=0, Color? color=null) | MeshFactory | inlinestatic |
CreateOctahedron(float edgeLen=1, float cx=0, float cy=0, float cz=0, Color? color=null) | MeshFactory | inlinestatic |
CreateQuad(float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3, float x4, float y4, float z4, bool flip=false, Color? color=null) | MeshFactory | inlinestatic |
CreateQuad(float dimX, float dimY, float x=0, float y=0, float z=0) | MeshFactory | inlinestatic |
CreateRhombicDodecahedron(float edge_length=1, float cx=0, float cy=0, float cz=0, Color? color=null) | MeshFactory | inlinestatic |
CreateSingleFace(List< Vec3 > vertices) | MeshFactory | inlinestatic |
CreateSphere(float radius=1, float cx=0, float cy=0, float cz=0, int u_res=10, int v_res=10, Color? color=null) | MeshFactory | inlinestatic |
CreateTetrahedron(float size=1, float cx=0, float cy=0, float cz=0, Color? color=null) | MeshFactory | inlinestatic |
CreateTorus(float ringRadius, float tubeRadius, int ringN=16, int tubeN=16, Color? color=null) | MeshFactory | inlinestatic |
CreateTube(Vec3 a, Vec3 b, int segments, float radius) | MeshFactory | inlinestatic |
+Static Public Member Functions | |
static MolaMesh | CreateQuad (float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3, float x4, float y4, float z4, bool flip=false, Color? color=null) |
Creates and returns a mesh with a single quad face. | |
static MolaMesh | CreateCircle (float x, float y, float z, float radius, int nSegments, Color? color=null) |
Create and returns a circle mesh composed by triangles. | |
static MolaMesh | CreateSingleFace (List< Vec3 > vertices) |
Creates and returns a single face mesh from the vertices. | |
static MolaMesh | CreateQuad (float dimX, float dimY, float x=0, float y=0, float z=0) |
Creates and returns a mesh with a single quad face. | |
static MolaMesh | CreateCone (Vec3 a, Vec3 b, int segments, float radius1, float radius2, bool capTop=true, bool capBottom=true, Color? color=null) |
Creates and returns a conic cylinder. | |
static MolaMesh | CreateCone (float z1, float z2, float radius1, float radius2, int nSegments, bool capBottom=true, bool capTop=true, Color? color=null) |
Creates and returns a conic cylinder. | |
static MolaMesh | CreateTube (Vec3 a, Vec3 b, int segments, float radius) |
Creates and returns a tube MolaMesh. | |
static MolaMesh | CreateBox (float x1, float y1, float z1, float x2, float y2, float z2, Color? color=null) |
Creates and returns a mesh box with six quad faces. | |
static MolaMesh | CreateIcosahedron (float radius=1, float cx=0, float cy=0, float cz=0, Color? color=null) |
Creates and returns a mesh in the form of an icosahedron. | |
static MolaMesh | CreateSphere (float radius=1, float cx=0, float cy=0, float cz=0, int u_res=10, int v_res=10, Color? color=null) |
Constructs a uv sphere mesh. | |
static MolaMesh | CreateDodecahedron (float radius=1, float cx=0, float cy=0, float cz=0, Color? color=null) |
Constructs a dodecaheron mesh. | |
static MolaMesh | CreateTetrahedron (float size=1, float cx=0, float cy=0, float cz=0, Color? color=null) |
Constructs a tetrahedron mesh. | |
static MolaMesh | CreateTorus (float ringRadius, float tubeRadius, int ringN=16, int tubeN=16, Color? color=null) |
Constructs a torus mesh. | |
static MolaMesh | CreateOctahedron (float edgeLen=1, float cx=0, float cy=0, float cz=0, Color? color=null) |
Constructs a octahedron mesh. | |
static MolaMesh | CreateRhombicDodecahedron (float edge_length=1, float cx=0, float cy=0, float cz=0, Color? color=null) |
Constructs a rhombic dodecahedron mesh. | |
Mola Premitives.
+
+
|
+ +inlinestatic | +
Creates and returns a mesh box with six quad faces.
+x1 | |
y1 | |
z1 | |
x2 | |
y2 | |
z2 | |
color |
+
|
+ +inlinestatic | +
Create and returns a circle mesh composed by triangles.
+x | X coordinate of the center point |
y | y coordinate of the center point |
z | z coordinate of the center point |
radius | Radius of the circle |
nSegments | Segments of the circle |
color |
+
|
+ +inlinestatic | +
Creates and returns a conic cylinder.
+z1 | |
z2 | |
radius1 | |
radius2 | |
nSegments | |
capBottom | |
capTop | |
color |
+
|
+ +inlinestatic | +
Creates and returns a conic cylinder.
+a | |
b | |
segments | |
radius1 | |
radius2 |
+
|
+ +inlinestatic | +
Constructs a dodecaheron mesh.
+radius | |
cx | |
cy | |
cz |
+
|
+ +inlinestatic | +
Creates and returns a mesh in the form of an icosahedron.
+radius | |
cx | |
cy | |
cz |
+
|
+ +inlinestatic | +
Constructs a octahedron mesh.
+edgeLen | |
cx | |
cy | |
cz | |
color |
+
|
+ +inlinestatic | +
Creates and returns a mesh with a single quad face.
+dimX | |
dimY | |
x | |
y | |
z |
+
|
+ +inlinestatic | +
Creates and returns a mesh with a single quad face.
+x1 | |
y1 | |
z1 | |
x2 | |
y2 | |
z2 | |
x3 | |
y3 | |
z3 | |
x4 | |
y4 | |
z4 | |
color |
+
|
+ +inlinestatic | +
Constructs a rhombic dodecahedron mesh.
+edge_length | |
cx | |
cy | |
cz | |
color |
+
|
+ +inlinestatic | +
Creates and returns a single face mesh from the vertices.
+vertices |
+
|
+ +inlinestatic | +
Constructs a uv sphere mesh.
+
+
|
+ +inlinestatic | +
Constructs a tetrahedron mesh.
+
+
|
+ +inlinestatic | +
Constructs a torus mesh.
+
+
|
+ +inlinestatic | +
Creates and returns a tube MolaMesh.
+a | |
b | |
segments | |
radius |
This is the complete list of members for MeshSubdivision, including all inherited members.
+CatmullClark(MolaMesh mesh) | MeshSubdivision | inlinestatic |
Extrude(MolaMesh molaMesh, float height, bool capTop=true) | MeshSubdivision | inlinestatic |
Extrude(MolaMesh molaMesh, List< float > heights, List< bool > capTops) | MeshSubdivision | inlinestatic |
ExtrudeTapered(MolaMesh molaMesh, float height, float fraction, bool capTop) | MeshSubdivision | inlinestatic |
ExtrudeTapered(MolaMesh molaMesh, List< float > heights, List< float > fractions, List< bool > capTops) | MeshSubdivision | inlinestatic |
ExtrudeToPointCenter(MolaMesh molaMesh, float height=0f) | MeshSubdivision | inlinestatic |
ExtrudeToPointCenter(MolaMesh molaMesh, List< float > heightList) | MeshSubdivision | inlinestatic |
Grid(MolaMesh molaMesh, int nU, int nV) | MeshSubdivision | inlinestatic |
Grid(MolaMesh molaMesh, List< int > nUList, List< int > nVList) | MeshSubdivision | inlinestatic |
GridAbs(MolaMesh molaMesh, float x, float y) | MeshSubdivision | inlinestatic |
GridAbs(MolaMesh molaMesh, List< float > xList, List< float > yList) | MeshSubdivision | inlinestatic |
LinearSplitQuad(MolaMesh molaMesh, float minSplitWidth=0f, float maxSplitWidth=0.5f, int dir=0) | MeshSubdivision | inlinestatic |
LinearSplitQuad(MolaMesh molaMesh, float maxSplitWidth=1f, int dir=0) | MeshSubdivision | inlinestatic |
Relative(MolaMesh mesh, int startSplit, float minSplit1, float maxSplit1, float minSplit2, float maxSplit2) | MeshSubdivision | inlinestatic |
SplitFrame(MolaMesh molaMesh, float w) | MeshSubdivision | inlinestatic |
SplitFrame(MolaMesh molaMesh, List< float > wList) | MeshSubdivision | inlinestatic |
SplitOffset(MolaMesh molaMesh, float offset) | MeshSubdivision | inlinestatic |
SplitOffset(MolaMesh molaMesh, IList< float > offsetList) | MeshSubdivision | inlinestatic |
SplitRoof(MolaMesh molaMesh, float height=0f) | MeshSubdivision | inlinestatic |
SplitRoof(MolaMesh molaMesh, List< float > heightList) | MeshSubdivision | inlinestatic |
Subdivision Methods. + More...
++Static Public Member Functions | |
static MolaMesh | CatmullClark (MolaMesh mesh) |
Apply CatmullClark algorithm to a MolaMesh. | |
static MolaMesh | Extrude (MolaMesh molaMesh, float height, bool capTop=true) |
Extrudes the all faces in a MolaMesh straight by a single distance height. | |
static MolaMesh | Extrude (MolaMesh molaMesh, List< float > heights, List< bool > capTops) |
Extrudes the all faces in a MolaMesh straight by a list distance height. | |
static MolaMesh | Grid (MolaMesh molaMesh, int nU, int nV) |
Splits all triangle or quad faces in a MolaMesh into regular grids. | |
static MolaMesh | Grid (MolaMesh molaMesh, List< int > nUList, List< int > nVList) |
splits all triangle or quad faces in a MolaMesh into regular grids | |
static MolaMesh | Relative (MolaMesh mesh, int startSplit, float minSplit1, float maxSplit1, float minSplit2, float maxSplit2) |
Split all faces in a MolaMesh based on relative parameters. | |
static MolaMesh | LinearSplitQuad (MolaMesh molaMesh, float minSplitWidth=0f, float maxSplitWidth=0.5f, int dir=0) |
Extrudes all face in a MolaMesh tapered like a window by creating an offset face and quads between every original edge and the corresponding new edge. | |
static MolaMesh | LinearSplitQuad (MolaMesh molaMesh, float maxSplitWidth=1f, int dir=0) |
Split each face in a quad MolaMesh into three quads in one direction by specifying the max width of the segments. | |
static MolaMesh | ExtrudeTapered (MolaMesh molaMesh, float height, float fraction, bool capTop) |
Extrudes all face in a MolaMesh tapered like a window by creating an offset face and quads between every original edge and the corresponding new edge. | |
static MolaMesh | ExtrudeTapered (MolaMesh molaMesh, List< float > heights, List< float > fractions, List< bool > capTops) |
Extrudes all face in a MolaMesh tapered like a window by creating an offset face and quads between every original edge and the corresponding new edge. | |
static MolaMesh | SplitRoof (MolaMesh molaMesh, float height=0f) |
Extrudes all faces in a MolaMesh into pitched rooves. | |
static MolaMesh | SplitRoof (MolaMesh molaMesh, List< float > heightList) |
Extrude each face in a MolaMesh into pitched rooves by specifying individual extrusion heights for each face. | |
static MolaMesh | ExtrudeToPointCenter (MolaMesh molaMesh, float height=0f) |
Extrude each face in a MolaMesh to a new point offset from its center by a distance along the normal vector of the face and create triangular faces from each edge to the point. | |
static MolaMesh | ExtrudeToPointCenter (MolaMesh molaMesh, List< float > heightList) |
Extrudes each face in a MolaMesh to the center point moved by height normal to the face and creating a triangular face from each edge to the point. | |
static MolaMesh | SplitFrame (MolaMesh molaMesh, float w) |
Create an offset frame with quad corners from each face in a Molamesh. | |
static MolaMesh | SplitFrame (MolaMesh molaMesh, List< float > wList) |
Create an offset frame with quad corners from each face in a Molamesh by specifying individual offset distances. | |
static MolaMesh | SplitOffset (MolaMesh molaMesh, float offset) |
Offset each face in a MolaMesh by a distance. | |
static MolaMesh | SplitOffset (MolaMesh molaMesh, IList< float > offsetList) |
Offset each face in a MolaMesh by specifying individual distances for each face. | |
static MolaMesh | GridAbs (MolaMesh molaMesh, float x, float y) |
Subidivide each face in a MolaMesh into cells with absolute size. | |
static MolaMesh | GridAbs (MolaMesh molaMesh, List< float > xList, List< float > yList) |
Subidivide each face in a MolaMesh into cells with absolute size. | |
Subdivision Methods.
+
+
|
+ +inlinestatic | +
Apply CatmullClark algorithm to a MolaMesh.
+mesh | A MolaMesh |
+
|
+ +inlinestatic | +
Extrudes the all faces in a MolaMesh straight by a single distance height.
+molaMesh | A MolaMesh |
height | Extruding height |
capTop | Wether to cap the top or not |
+
|
+ +inlinestatic | +
Extrudes the all faces in a MolaMesh straight by a list distance height.
+The list length must much the face count.
+molaMesh | A MolaMesh |
height | A list Extruding height |
capTop | A list of bool to decide Wether to cap the top or not |
+
|
+ +inlinestatic | +
Extrudes all face in a MolaMesh tapered like a window by creating an offset face and quads between every original edge and the corresponding new edge.
+molaMesh | A MolaMesh |
height | Extruding height |
fraction | A relative value |
capTop | A bool to decide Wether to cap the top or not |
+
|
+ +inlinestatic | +
Extrudes all face in a MolaMesh tapered like a window by creating an offset face and quads between every original edge and the corresponding new edge.
+molaMesh | A MolaMesh |
heights | A list of extruding height |
fractions | A list of relative values |
capTops | A list of bool to decide Wether to cap the top or not |
+
|
+ +inlinestatic | +
Extrude each face in a MolaMesh to a new point offset from its center by a distance along the normal vector of the face and create triangular faces from each edge to the point.
+molaMesh | The MolaMesh |
height | Extruding height |
+
|
+ +inlinestatic | +
Extrudes each face in a MolaMesh to the center point moved by height normal to the face and creating a triangular face from each edge to the point.
+molaMesh | The MolaMesh |
heightList | A list of extruding height |
+
|
+ +inlinestatic | +
Splits all triangle or quad faces in a MolaMesh into regular grids.
+molaMesh | A MolaMesh |
nU | Division count on U direction |
nV | Devision count on V direction |
+
|
+ +inlinestatic | +
splits all triangle or quad faces in a MolaMesh into regular grids
+molaMesh | A MolaMesh |
nU | A list of int U |
nV | A list of int V |
///
nU | Division count on U direction |
nV | Devision count on V direction |
+
|
+ +inlinestatic | +
Subidivide each face in a MolaMesh into cells with absolute size.
+molaMesh | A MolaMesh |
x | Size on U direction |
y | Size on V direction |
+
|
+ +inlinestatic | +
Subidivide each face in a MolaMesh into cells with absolute size.
+molaMesh | A MolaMesh |
x | A list of size on U direction |
y | A list of size on V direction |
+
|
+ +inlinestatic | +
Split each face in a quad MolaMesh into three quads in one direction by specifying the max width of the segments.
+molaMesh | |
maxSplitWidth | |
dir |
+
|
+ +inlinestatic | +
Extrudes all face in a MolaMesh tapered like a window by creating an offset face and quads between every original edge and the corresponding new edge.
+molaMesh | A MolaMesh |
height | Extruding height |
fraction | Relative value of how much the result is tapered |
capTop | Wether to cap the top or not |
Split each face in a quad MolaMesh into three quads in one direction by specifying the range to generate random widths of the first two segments.
+molaMesh | |
minSplitWidth | |
maxSplitWidth | |
dir |
+
|
+ +inlinestatic | +
Split all faces in a MolaMesh based on relative parameters.
+mesh | A MolaMesh |
startSplit | Choose U or V as starting direction |
minSplit1 | min relative parameter on the first direction |
maxSplit1 | max relative parameter on the first direction |
minSplit2 | min relative parameter on the second direction |
maxSplit2 | max relative parameter on the second direction |
+
|
+ +inlinestatic | +
Create an offset frame with quad corners from each face in a Molamesh.
+Only work for convex shapes.
+molaMesh | The MolaMesh |
w | The relative value |
+
|
+ +inlinestatic | +
Create an offset frame with quad corners from each face in a Molamesh by specifying individual offset distances.
+Only work for convex shapes.
+molaMesh | The MolaMesh |
wList | A list of relative value |
+
|
+ +inlinestatic | +
Offset each face in a MolaMesh by a distance.
+Only work for convex shapes.
+molaMesh | A MolaMesh |
offset | The offset distance |
+
|
+ +inlinestatic | +
Offset each face in a MolaMesh by specifying individual distances for each face.
+Only work for convex shapes.
+molaMesh | A MolaMesh |
offsetList | A list of offset distance |
+
|
+ +inlinestatic | +
Extrudes all faces in a MolaMesh into pitched rooves.
+molaMesh | A MolaMesh |
height | Extruding height |
+
|
+ +inlinestatic | +
Extrude each face in a MolaMesh into pitched rooves by specifying individual extrusion heights for each face.
+molaMesh | A MolaMesh |
heightList | The list of extruding height |
This is the complete list of members for Mola.MeshUtils, including all inherited members.
+Color(MolaMesh molaMesh, List< float > values) (defined in Mola.MeshUtils) | Mola.MeshUtils | inlinestatic |
Color(MolaMesh molaMesh, System.Drawing.Color color) (defined in Mola.MeshUtils) | Mola.MeshUtils | inlinestatic |
FaceMask(List< float > values, Predicate< float > filter) | Mola.MeshUtils | inlinestatic |
Merge(List< MolaMesh > molaMeshes) (defined in Mola.MeshUtils) | Mola.MeshUtils | inlinestatic |
Offset(MolaMesh mesh, float offset, bool closeborders=true, bool constrainZ=false) | Mola.MeshUtils | inlinestatic |
Split(MolaMesh molaMesh, bool[] mask) (defined in Mola.MeshUtils) | Mola.MeshUtils | inlinestatic |
Split(MolaMesh molaMesh, List< bool > mask) (defined in Mola.MeshUtils) | Mola.MeshUtils | inlinestatic |
+Static Public Member Functions | |
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) |
+static List< MolaMesh > | Split (MolaMesh molaMesh, List< bool > mask) |
+static MolaMesh | Merge (List< MolaMesh > molaMeshes) |
+static MolaMesh | Color (MolaMesh molaMesh, List< float > values) |
+static MolaMesh | Color (MolaMesh molaMesh, System.Drawing.Color color) |
static bool[] | FaceMask (List< float > values, Predicate< float > filter) |
Get a boolean array from a float value list based on the input filter condition. | |
+
|
+ +inlinestatic | +
Get a boolean array from a float value list based on the input filter condition.
+values | A float list |
filter | A Predicate |
+
|
+ +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 |
This is the complete list of members for MolaGrid< T >, including all inherited members.
+getY(int index) | MolaGrid< T > | inline |
getZ(int index) | MolaGrid< T > | inline |
A GridManager
is taking care of getting and setting values and retrieving neighbors in an orthogonal grid of either 2 or 3 dimension.
+ More...
Inherits IEnumerable.
++Public Member Functions | |
int | getY (int index) |
int | getZ (int index) |
A GridManager
is taking care of getting and setting values and retrieving neighbors in an orthogonal grid of either 2 or 3 dimension.
+
|
+ +inline | +
index |
+
|
+ +inline | +
index |
This is the complete list of members for Mola.MolaMesh, including all inherited members.
+AddColor(Color color) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
AddFace(int[] face) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
AddFace(Vec3[] vertices, Color? c=null) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
AddFaces(List< Vec3[]> faces_vertices, Color? c=null) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
AddMesh(MolaMesh mesh) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
AddQuad(int index1, int index2, int index3, int index4) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
AddQuad(Vec3 v1, Vec3 v2, Vec3 v3, Vec3 v4, Color color) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
AddQuad2D(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4, float z, Color color) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
AddTri2D(float x1, float y1, float x2, float y2, float x3, float y3) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
AddTri2D(float x1, float y1, float x2, float y2, float x3, float y3, float z) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
AddTri2D(float x1, float y1, float x2, float y2, float x3, float y3, float z, Color color) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
AddTri2D(float x1, float y1, float x2, float y2, float x3, float y3, float z, Color color1, Color color2, Color color3) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
AddTriangle(int index1, int index2, int index3) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
AddTriangle(Vec3 v1, Vec3 v2, Vec3 v3, Color color) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
AddTriangle(float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3, Color color1, Color color2, Color color3) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
AddVertex(float x, float y, float z, Color? c=null) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
AddVertex(Vec3 v, Color color) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
AddVertex(float x, float y, float z, Color color) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
AddVertices(IList< Vec3 > vertices, IList< Color > colors) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
AddVertices(IList< Vec3 > vertices, Color color) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
AddVertices(float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
AddVertices(float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3, float x4, float y4, float z4) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
AdjacentEdgesToEdge(int edgeIndex) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
AdjacentEdgeToVertices(int v1, int v2) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
AdjacentFace1ToEdge(int edgeIndex) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
AdjacentFace2ToEdge(int edgeIndex) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
AdjacentFacesToFace(int faceIndex) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
AdjacentFacesToVertex(int vertexIndex) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
AdjacentFacetoVertices(int v1, int v2) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
AdjacentVertex1ToEdge(int edgeIndex) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
AdjacentVertex2ToEdge(int edgeIndex) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
AdjacentVerticesToVertex(int vertexIndex) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
CalculateFaceCenters() (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
CalculateNormals() (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
Clear() (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
Colors (defined in Mola.MolaMesh) | Mola.MolaMesh | |
Copy() (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
CopyFace(int i) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
CopySubMesh(List< int > faceIds, bool invert=false) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
CopySubMesh(bool[] mask) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
CopySubMesh(Predicate< int[]> faceFilter) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
CopySubMesh(int faceId, bool invert=false) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
CopySubMeshByBoundingBox(float x1, float y1, float z1, float x2, float y2, float z2, bool invert=false) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
CopySubMeshByDimension(float minX, float maxX, float minY, float maxY, float minZ, float maxZ, bool invert=false) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
CopySubMeshByEdgeLength(float min, float max, int edgeIndex=0, bool invert=false) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
CopySubMeshByFaceVertexCount(int vertexC=3) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
CopySubMeshByModulo(int result, int modulo, bool invert=false) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
CopySubMeshByNormalX(float minX, float maxX, bool abs=false, bool invert=false) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
CopySubMeshByNormalY(float minY, float maxY, bool abs=false, bool invert=false) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
CopySubMeshByNormalZ(float minZ, float maxZ, bool abs=false, bool invert=false) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
CopyVertices() (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
FACE1 (defined in Mola.MolaMesh) | Mola.MolaMesh | static |
FACE2 (defined in Mola.MolaMesh) | Mola.MolaMesh | static |
FaceAngleHorizontal(int faceIndex) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
FaceAngleVertical(int faceIndex) | Mola.MolaMesh | inline |
FaceArea(int faceIndex) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
FaceBoundingBox(int faceIndex) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
FaceCenter(int faceIndex) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
FaceCompactness(int faceIndex) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
FaceEdgeLength(int faceIndex, int direction) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
FaceNormal(int faceIndex) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
FacePerimeter(int faceIndex) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
FaceProperties(Func< Vec3[], float > analyse) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
Faces (defined in Mola.MolaMesh) | Mola.MolaMesh | |
FacesCount() (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
FaceVertices(int faceIndex) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
FlattenedTriangles() (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
FlipFaces() (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
FlipYZ() (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
GetTopoEdges() (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
GetTopoVertexEdges() (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
Mirror(Plane plane) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
Mirror(MolaMesh mesh, Plane plane) (defined in Mola.MolaMesh) | Mola.MolaMesh | inlinestatic |
MirroredCopy(Plane plane) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
MolaMesh() (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
RemoveUnusedVertices() (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
Rotate(float degrees, Vec3 axis) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
Rotated(Vec3 vector, Quaternion rotation, Vec3 pivot=default(Vec3)) (defined in Mola.MolaMesh) | Mola.MolaMesh | inlinestatic |
Rotated(Vec3 vector, Vec3 rotation, Vec3 pivot=default(Vec3)) (defined in Mola.MolaMesh) | Mola.MolaMesh | inlinestatic |
Rotated(Vec3 vector, float x, float y, float z, Vec3 pivot=default(Vec3)) (defined in Mola.MolaMesh) | Mola.MolaMesh | inlinestatic |
RotateRadians(float radians, Vec3 axis) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
RotateZ(float radians) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
Scale(float x, float y, float z) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
SeparateVertices() (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
SeparateVerticesWithUVs() (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
SetColorToAllVertices(Color? c=null) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
SetVertexColors(Color color) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
Transform(Matrix4x4 matrix) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
Translate(float x, float y, float z) (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
TriangulateQuads() (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
UpdateTopology() | Mola.MolaMesh | inline |
UVs (defined in Mola.MolaMesh) | Mola.MolaMesh | |
VERTEX1 (defined in Mola.MolaMesh) | Mola.MolaMesh | static |
VERTEX2 (defined in Mola.MolaMesh) | Mola.MolaMesh | static |
VertexArray() (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
VertexCount() (defined in Mola.MolaMesh) | Mola.MolaMesh | inline |
Vertices (defined in Mola.MolaMesh) | Mola.MolaMesh | |
WeldVertices() | Mola.MolaMesh | inline |
+Public Member Functions | |
+Vec3[] | CalculateFaceCenters () |
+Vec3[] | CalculateNormals () |
+MolaMesh | CopyVertices () |
+MolaMesh | Copy () |
+void | SetVertexColors (Color color) |
+void | SetColorToAllVertices (Color? c=null) |
+void | Transform (Matrix4x4 matrix) |
+void | Translate (float x, float y, float z) |
+void | Scale (float x, float y, float z) |
+void | RotateZ (float radians) |
+void | Rotate (float degrees, Vec3 axis) |
+MolaMesh | MirroredCopy (Plane plane) |
+void | Mirror (Plane plane) |
+void | RotateRadians (float radians, Vec3 axis) |
+void | AddMesh (MolaMesh mesh) |
+int | AddVertex (float x, float y, float z, Color? c=null) |
+int | AddVertex (Vec3 v, Color color) |
+int | AddVertex (float x, float y, float z, Color color) |
+void | AddFace (int[] face) |
+int | AddColor (Color color) |
+int[] | AddVertices (IList< Vec3 > vertices, IList< Color > colors) |
+int[] | AddVertices (IList< Vec3 > vertices, Color color) |
+int[] | AddVertices (float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3) |
+Vec3[] | FaceVertices (int faceIndex) |
+int[] | AddVertices (float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3, float x4, float y4, float z4) |
+int | VertexCount () |
+int | FacesCount () |
+void | AddTriangle (int index1, int index2, int index3) |
+void | AddQuad (int index1, int index2, int index3, int index4) |
+void | FlipFaces () |
+void | FlipYZ () |
+void | AddQuad (Vec3 v1, Vec3 v2, Vec3 v3, Vec3 v4, Color color) |
+void | AddTriangle (Vec3 v1, Vec3 v2, Vec3 v3, Color color) |
+void | AddFace (Vec3[] vertices, Color? c=null) |
+void | AddFaces (List< Vec3[]> faces_vertices, Color? c=null) |
+void | AddTri2D (float x1, float y1, float x2, float y2, float x3, float y3) |
+void | AddTri2D (float x1, float y1, float x2, float y2, float x3, float y3, float z) |
+void | AddTri2D (float x1, float y1, float x2, float y2, float x3, float y3, float z, Color color) |
+void | AddTriangle (float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3, Color color1, Color color2, Color color3) |
+void | AddTri2D (float x1, float y1, float x2, float y2, float x3, float y3, float z, Color color1, Color color2, Color color3) |
+void | AddQuad2D (float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4, float z, Color color) |
+void | SeparateVerticesWithUVs () |
+void | SeparateVertices () |
+void | TriangulateQuads () |
+Vec3[] | VertexArray () |
+int[] | FlattenedTriangles () |
+void | UpdateTopology () |
Update the topology of a MolaMesh. | |
+void | WeldVertices () |
Merge all overlapping vertices. | |
+int | AdjacentEdgeToVertices (int v1, int v2) |
+int | AdjacentFacetoVertices (int v1, int v2) |
+int[] | AdjacentFacesToFace (int faceIndex) |
+int[] | AdjacentVerticesToVertex (int vertexIndex) |
+int[] | AdjacentFacesToVertex (int vertexIndex) |
+int[] | AdjacentEdgesToEdge (int edgeIndex) |
+int | AdjacentVertex1ToEdge (int edgeIndex) |
+int | AdjacentVertex2ToEdge (int edgeIndex) |
+int | AdjacentFace1ToEdge (int edgeIndex) |
+int | AdjacentFace2ToEdge (int edgeIndex) |
+ReadOnlyCollection< int[]> | GetTopoEdges () |
+ReadOnlyCollection< int[]> | GetTopoVertexEdges () |
+void | RemoveUnusedVertices () |
+MolaMesh | CopySubMesh (List< int > faceIds, bool invert=false) |
+MolaMesh | CopySubMeshByModulo (int result, int modulo, bool invert=false) |
+MolaMesh | CopySubMeshByEdgeLength (float min, float max, int edgeIndex=0, bool invert=false) |
+MolaMesh | CopySubMeshByBoundingBox (float x1, float y1, float z1, float x2, float y2, float z2, bool invert=false) |
+MolaMesh | CopySubMeshByDimension (float minX, float maxX, float minY, float maxY, float minZ, float maxZ, bool invert=false) |
+MolaMesh | CopySubMeshByNormalZ (float minZ, float maxZ, bool abs=false, bool invert=false) |
+MolaMesh | CopySubMeshByNormalX (float minX, float maxX, bool abs=false, bool invert=false) |
+MolaMesh | CopySubMeshByNormalY (float minY, float maxY, bool abs=false, bool invert=false) |
+MolaMesh | CopySubMeshByFaceVertexCount (int vertexC=3) |
+MolaMesh | CopySubMesh (bool[] mask) |
+MolaMesh | CopySubMesh (Predicate< int[]> faceFilter) |
+int[] | CopyFace (int i) |
+MolaMesh | CopySubMesh (int faceId, bool invert=false) |
+List< float > | FaceProperties (Func< Vec3[], float > analyse) |
+void | Clear () |
+Vec3 | FaceNormal (int faceIndex) |
+BoundingBox | FaceBoundingBox (int faceIndex) |
+float | FacePerimeter (int faceIndex) |
+float | FaceEdgeLength (int faceIndex, int direction) |
+float | FaceArea (int faceIndex) |
+Vec3 | FaceCenter (int faceIndex) |
float | FaceAngleVertical (int faceIndex) |
Returns the altitude, 0 if the face is vertical, -Pi/2 if it faces downwards, +Pi/2 if it faces upwards. | |
+float | FaceAngleHorizontal (int faceIndex) |
+float | FaceCompactness (int faceIndex) |
+Static Public Member Functions | |
+static void | Mirror (MolaMesh mesh, Plane plane) |
+static Vec3 | Rotated (Vec3 vector, Quaternion rotation, Vec3 pivot=default(Vec3)) |
+static Vec3 | Rotated (Vec3 vector, Vec3 rotation, Vec3 pivot=default(Vec3)) |
+static Vec3 | Rotated (Vec3 vector, float x, float y, float z, Vec3 pivot=default(Vec3)) |
+Static Public Attributes | |
+static int | VERTEX1 = 0 |
+static int | VERTEX2 = 1 |
+static int | FACE1 = 2 |
+static int | FACE2 = 3 |
+Properties | |
+List< Vec3 > | UVs [get, set] |
+List< int[]> | Faces [get, set] |
+List< Vec3 > | Vertices [get, set] |
+List< Color > | Colors [get, set] |
+
|
+ +inline | +
Returns the altitude, 0 if the face is vertical, -Pi/2 if it faces downwards, +Pi/2 if it faces upwards.
+face_vertices |
▼CIEnumerable | |
CMola.MolaGrid< T > | A GridManager is taking care of getting and setting values and retrieving neighbors in an orthogonal grid of either 2 or 3 dimension |
CMola.MeshAnalysis | |
CMola.MeshFactory | |
CMola.MeshSubdivision | |
CMola.MeshUtils | |
CMola.MolaMesh |