Mesh3 Methods

Methods

AddFace(Face3) add a face to the mesh.
AddFace(Int32, Int32, Int32) Add a face to the mesh.
AddFace(Int32, Int32, Int32, Int32) Add a quad face to the mesh.
AddVertex(Point3) Add a vertex to the mesh.
AddVertex(Double, Double, Double) Add a vertex to the mesh.
AddVertexColor add a color to the list of vertex colors.
Append welds given mesh into this mesh.
CapMesh caps the two meshes; assumes that both meshes contain color information for each vertex.
characteristicFaceSize determine the characteristic mesh face size.
Cleaned Create a new mesh based on another mesh doing a sanity check and removing faces with a smaller area than lim_area.
ClearVertexColors clear the list of vertex colors.
ClearVertices clear the list of vertices.
ClosestMeshPoint Gets the point on the mesh that is closest to a given test point. Similar to the ClosestPoint function except this returns a MeshPoint class which includes extra information beyond just the location of the closest point.
CombineIdenticalVertices Merges identical vertices.
Compact Make the mesh compact.
ComputeNormals Dummy method: normals are computed via lazy evaluation.
ComputeVertexNormals compute the vertex normals.
Copy Clones this mesh.
doubleFaceArea determine the raw face normal whose length is double the area of the mesh face.
DuplicateMesh Clones this mesh.
DuplicateVertex duplicates the last vertex.
DuplicateVertex(Int32) duplicates the vertex of given index.
Equals(IReadonlyMesh) Check whether this equals other.
Equals(Object) Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object))
faceArea(Face3, Vector3) calculate the area of a face.
faceArea(Int32, Vector3) determine the area of a mesh face.
faceAreas determine the face areas of each face as normals.
faceCOG determine the center of gravity of a mesh face.
faceNormal Calculates the normal of the face.
Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Flip Reverses the direction of the mesh.
ForceComputeNormals forces the generation of the normals of the vertices and faces.
GetBoundingBox Boundingbox solver. Gets the world axis aligned boundingbox for the geometry.
GetHashCode Calculate the hash-code of the object.
(Overrides ObjectGetHashCode)
GetObjectData Serialize MeshLoad.
GetType Gets the Type of the current instance.
(Inherited from Object)
GetVertex return the position of a vertex of given index.
MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
NakedEdges Returns the outline edges of the mesh.
Partial returns a partial view of the mesh with only the mash faces visible whose indexes are given.
SetVertex(Int32, Point3) set vertex using index and coordinates.
SetVertex(Int32, Double, Double, Double) set vertex using index and coordinates.
SetVertex(Int32, Double, Double, Double, Double, Double, Double) Sets a vertex of the mesh and set its normal.
SetVertexColor set the color of a vertex.
ToString Returns a string that represents the current object.
(Inherited from Object)
Triangulated triangulate a mesh.
tryCalculateFaceNormal Tries to calculate a face normal.
UpdatePosition Update the vertex positions according to the given list of points.
WriteOBJ save mesh to file in obj-format.
WritePLY save mesh to file via ply-format.

Extension Methods

ContainerType test if object is (a container like) a list or an array.
(Defined by MiniUtil)
Convert Converts to Rhino's Mesh. If the mesh is already of type [!:RhinoMesh], the underlying mesh [!:RhinoMesh.UnderlyingRhinoMesh] is returned without creating a copy of it. Otherwise, a new rhino mesh instance is created from the supplied mesh.
(Defined by ToRhino)
Convert Converts to Karamba's Mesh3.
(Defined by ToRhino)

See Also