![]() |
Mesh3 Class |
Namespace: Karamba.Geometry
The Mesh3 type exposes the following members.
Name | Description | |
---|---|---|
![]() | Mesh3 |
Initializes a new instance of the Mesh3 class.
Create mesh.
|
![]() | Mesh3(IReadonlyMesh) |
Initializes a new instance of the Mesh3 class.
Create mesh based on another mesh.
|
![]() | Mesh3(Mesh3) |
Initializes a new instance of the Mesh3 class.
Create mesh based on another mesh.
|
![]() | Mesh3(Int32, Int32) |
Initializes a new instance of the Mesh3 class.
Create mesh with an estimated number of vertices and faces.
|
![]() | Mesh3(IReadOnlyListPoint3, IReadOnlyListFace3) |
Initializes a new instance of the Mesh3 class.
Create mesh based on faces and vertices.
|
![]() | Mesh3(Int32, Int32, TriangulationFCsharp) |
Initializes a new instance of the Mesh3 class.
Create mesh with an estimated number of vertices and faces, and an object of the triangulation wrapper class.
|
Name | Description | |
---|---|---|
![]() | ContainsQuads |
Gets a value indicating whether the mesh contains quadrangular faces.
|
![]() | Faces |
Gets the mesh faces.
|
![]() | IsValid |
Gets a value indicating whether the mesh is valid.
|
![]() | Normals |
Gets the faces normals.
|
![]() | VertexColors |
Gets the vertex colors.
|
![]() | Vertices |
Gets the mesh vertices.
|
Name | Description | |
---|---|---|
![]() ![]() | Add |
add together list of meshes.
|
![]() | 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.
|
![]() | AddVertex(Double, Double, Double, Double, Double, Double) |
Adds a vertex to the mesh and set its normal.
|
![]() | 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 |
generate the normals of the vertices.
|
![]() | 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 | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | faceArea(Int32, Vector3) |
determine the area of a mesh face.
|
![]() | faceArea(Face3, Vector3) |
calculate the area of a face.
|
![]() | faceCOG |
determine the center of gravity of a mesh face.
|
![]() | faceNormal |
Calculates the normal of the face.
|
![]() | Flip | Reverses the direction of the mesh. |
![]() | GetBoundingBox |
Boundingbox solver. Gets the world axis aligned boundingbox for the geometry.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetObjectData |
Serialize MeshLoad.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetVertex |
return the position of a vertex of given index.
|
![]() | NakedEdges |
Returns the outline edges of the mesh.
|
![]() | SetVertex(Int32, Point3) |
set vertex using index and coordinates.
|
![]() | SetVertex(Int32, Double, Double, Double) |
set vertex using index and coordinates.
|
![]() | SetVertexColor |
set the color of a vertex.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Triangulated |
triangulate a mesh.
|
![]() | WriteOBJ |
save mesh to file in obj-format.
|
![]() | WritePLY |
save mesh to file via ply-format.
|
Name | Description | |
---|---|---|
![]() | Convert |
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.) |