Click or drag to resize

Mesh Class

represents a mesh
Inheritance Hierarchy

Namespace:  Karamba.Utilities.KMesh
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class Mesh

The Mesh type exposes the following members.

Constructors
  NameDescription
Public methodMesh
contruct an empty mesh
Public methodMesh(Mesh)
create a mesh based on a feb.mesh
Top
Properties
  NameDescription
Public propertyFaces
returns the faces of the mesh
Public propertyVertices
returns the vertices of the mesh
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodinit
initialize the mesh geometry with a feb-mesh
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodrNearestVertices
return list of vertex indices whose distance from x,y,z is less than r
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodupdateGeometry
update the mesh data after addition of faces or vertexes
Public methodvertToFaceInds
return indexes of the faces a node of given index belongs to
Top
Fields
  NameDescription
Protected fieldfaces_
faces of the mesh
Protected fieldkdtree_vertexes_
kd-tree for the mesh vertexes
Protected fieldvert_to_face_inds_
mapping from vertex index to neighboring face indexes
Protected fieldvertices_
vertices of the mesh
Top
See Also