Click or drag to resize

Mesh3 Methods

The Mesh3 type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAdd
add together list of meshes.
Public methodAddFace(Face3)
add a face to the mesh.
Public methodAddFace(Int32, Int32, Int32)
Add a face to the mesh.
Public methodAddFace(Int32, Int32, Int32, Int32)
Add a quad face to the mesh.
Public methodAddVertex(Point3)
Add a vertex to the mesh.
Public methodAddVertex(Double, Double, Double)
Add a vertex to the mesh.
Public methodAddVertex(Double, Double, Double, Double, Double, Double)
Adds a vertex to the mesh and set its normal.
Public methodAddVertexColor
add a color to the list of vertex colors.
Public methodAppend
welds given mesh into this mesh.
Public methodStatic memberCapMesh
caps the two meshes; assumes that both meshes contain color information for each vertex.
Public methodcharacteristicFaceSize
determine the characteristic mesh face size.
Public methodCleaned
Create a new mesh based on another mesh doing a sanity check and removing faces with a smaller area than lim_area.
Public methodClearVertexColors
clear the list of vertex colors.
Public methodClearVertices
clear the list of vertices.
Public methodClosestMeshPoint
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.
Public methodCombineIdenticalVertices
Merges identical vertices.
Public methodCompact
Make the mesh compact.
Public methodComputeNormals
generate the normals of the vertices.
Public methodComputeVertexNormals
compute the vertex normals.
Public methodCopy
Clones this mesh.
Public methoddoubleFaceArea
determine the raw face normal whose length is double the area of the mesh face.
Public methodDuplicateMesh
Clones this mesh.
Public methodDuplicateVertex
duplicates the last vertex.
Public methodDuplicateVertex(Int32)
duplicates the vertex of given index.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodfaceArea(Int32, Vector3)
determine the area of a mesh face.
Public methodfaceArea(Face3, Vector3)
calculate the area of a face.
Public methodfaceCOG
determine the center of gravity of a mesh face.
Public methodfaceNormal
Calculates the normal of the face.
Public methodFlip
Reverses the direction of the mesh.
Public methodGetBoundingBox
Boundingbox solver. Gets the world axis aligned boundingbox for the geometry.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetObjectData
Serialize MeshLoad.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetVertex
return the position of a vertex of given index.
Public methodNakedEdges
Returns the outline edges of the mesh.
Public methodSetVertex(Int32, Point3)
set vertex using index and coordinates.
Public methodSetVertex(Int32, Double, Double, Double)
set vertex using index and coordinates.
Public methodSetVertexColor
set the color of a vertex.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTriangulated
triangulate a mesh.
Public methodWriteOBJ
save mesh to file in obj-format.
Public methodWritePLY
save mesh to file via ply-format.
Top
Extension Methods
  NameDescription
Public Extension MethodConvert
Converts to Rhino's Mesh. If the mesh is already of type RhinoMesh, the underlying mesh Mesh is returned without creating a copy of it. Otherwise, a new rhino mesh instance is created from the supplied mesh.
(Defined by ToRhino.)
Top
See Also