The MeshUtils type exposes the following members.

Methods

  NameDescription
Public methodStatic memberCalculateSubgraphBoundsInnerSpace
Determine the inner space of a 3D element and his subgraph
Public methodStatic memberCalculateSubgraphBoundsOuterSpace
Determine the outer space of a 3D element and his subgraph
Public methodStatic memberFastTransformBounds
Transforms the axis-aligned bounding box bounds by transform: this represents an approximation of the real bounding box after transformation
Public methodStatic memberGenerateCubicTextureCoordinates
Generates texture coordinates as if mesh were a cube. Notes: 1) v is flipped for you automatically 2) 'mesh' is not modified. If you want the generated coordinates to be assigned to mesh, do: mesh.TextureCoordinates = GeneratePlanarTextureCoordinates(mesh, foo)
Public methodStatic memberGenerateCylindricalTextureCoordinates
Generates texture coordinates as if mesh were a cylinder. Notes: 1) v is flipped for you automatically 2) 'mesh' is not modified. If you want the generated coordinates to be assigned to mesh, do: mesh.TextureCoordinates = GenerateCylindricalTextureCoordinates(mesh, foo)
Public methodStatic memberGeneratePlanarTextureCoordinates
Generates texture coordinates as if mesh were a plane. Notes: 1) v is flipped for you automatically 2) 'mesh' is not modified. If you want the generated coordinates to be assigned to mesh, do: mesh.TextureCoordinates = GeneratePlanarTextureCoordinates(mesh, foo)
Public methodStatic memberGenerateSphericalTextureCoordinates
Generates texture coordinates as if mesh were a sphere. Notes: 1) v is flipped for you automatically 2) 'mesh' is not modified. If you want the generated coordinates to be assigned to mesh, do: mesh.TextureCoordinates = GenerateSphericalTextureCoordinates(mesh, foo)
Public methodStatic memberGetAABB
Gets the true AABB of the provided parent object and all of its children. This method applies any transforms before computing the bounding box.
Public methodStatic memberGetCircumferenceSuggestedSides
Calculates a suggested count of radial sides for a circular shape to appear smooth.
Public methodStatic memberGetDescendantBounds
Get the bounding box of the descendant objects. This is also the bounding box of this object prior to applying transform attribute and animated transformations.
Public methodStatic memberGetDescendantCenter
Gets the Point3D that is the center of the descendant obejcts
Public methodStatic memberGetPolyCount
Get the internal details for the specified mesh
Public methodStatic memberGetVisualParent
Get the parent of a given Dependency Object
Public methodStatic memberInitializeLightsAndCamera
Initialize the default lighting in a Viewport3D
Public methodStatic memberRecalculateNormals
Recalculates normals
Public methodStatic memberRepairMesh
Repairs a MeshGeometry3D from geometry connectivity point of view (joining duplicate vertices, removing invalid triangles etc.).

See Also