![]() |
Mesh3 Class |
Namespace: Karamba.Geometry
The Mesh3 type exposes the following members.
Name | Description | |
---|---|---|
![]() | Mesh3 |
Create mesh.
|
![]() | Mesh3(IReadonlyMesh) |
Create mesh based on another mesh
|
![]() | Mesh3(Mesh3) |
Create mesh based on another mesh
|
![]() | Mesh3(Int32, Int32) |
Create mesh with an estimated number of vertices and faces
|
![]() | Mesh3(IReadOnlyListPoint3, IReadOnlyListFace3) |
Create mesh based on faces and vertices
|
Name | Description | |
---|---|---|
![]() | ContainsQuads |
return trueif the mesh contains quadrangula faces
|
![]() | Faces |
return the mesh faces
|
![]() | IsValid |
True in case the mesh is valid
|
![]() | Normals |
return the faces normals
|
![]() | VertexColors |
return the vertex colors
|
![]() | Vertices |
return the mesh vertices
|
Name | Description | |
---|---|---|
![]() | AddFace(Face3) |
add a face to the mesh
|
![]() | AddFace(Int32, Int32, Int32) |
add a face to the mesh
|
![]() | AddFace(Int32, Int32, Int32, Int32) |
Add two triangles.
|
![]() | 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
|
![]() | 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.
|
![]() | Compact |
make the mesh compact
|
![]() | ComputeNormals |
generate the normals of the vertices
|
![]() | ComputeVertexNormals |
compute the vertex normals
|
![]() | Copy |
Clone the mesh
|
![]() | doubleFaceArea |
determine the raw face normal whose length is double the area of the mesh face
|
![]() | DuplicateMesh |
Clone the mesh
|
![]() | 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 |
calculate the normal of the face.
|
![]() | Flip | Reverses the direction of the mesh. |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetVertex |
return the position of a vertex of given index
|
![]() | 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
|
Name | Description | |
---|---|---|
![]() | Convert |
Convert to mesh to rhino 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.
The following attributes/properties are taken into account.
(1) Mesh topology (vertices, faces)
(2) Vertex normals.
(3) Vertex colors.
(Defined by MeshExtensions.) |