|
|
RhinoMesh Class |
Namespace: Karamba.GHopper.Geometry
The RhinoMesh type exposes the following members.
| Name | Description | |
|---|---|---|
| RhinoMesh |
Create empty mesh.
| |
| RhinoMesh(Mesh) |
Create rhino mesh wrapper.
The rhino mesh must not be accessed from outside while the
|
| Name | Description | |
|---|---|---|
| ContainsQuads | ||
| Faces | ||
| IsValid |
True in case the mesh is valid
| |
| Mesh |
Get underlying mesh.
| |
| Normals | ||
| VertexColors | ||
| Vertices |
| Name | Description | |
|---|---|---|
| AddFace(Face3) | ||
| AddFace(Int32, Int32, Int32) | ||
| AddFace(Int32, Int32, Int32, Int32) | ||
| AddVertex(Point3) | ||
| AddVertex(Double, Double, Double) |
Adds a new vertex to the end of the Vertex list.
| |
| AddVertexColor | ||
| 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 | ||
| 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.
| |
| ComputeNormals |
compute the normals of all faces
| |
| ComputeVertexNormals | ||
| Copy | ||
| doubleFaceArea |
determine the raw face normal whose length is double the area of the mesh face
mesh face for which to calculate the area Return ValueType:normal vector to face whose length is double the face area | |
| DuplicateMesh |
make a deep copy of 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) | ||
| faceCOG |
determine the center of gravity of a mesh face
| |
| faceNormal |
calculate the normal of the face.
works for triangles and quads?
| |
| 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. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetVertex | ||
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| SetVertex(Int32, Point3) | ||
| SetVertex(Int32, Double, Double, Double) | ||
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Triangulated |
| 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.) |