The MeshUtils type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| CalculateSubgraphBoundsInnerSpace |
Determine the inner space of a 3D element and his subgraph
| |
| CalculateSubgraphBoundsOuterSpace |
Determine the outer space of a 3D element and his subgraph
| |
| FastTransformBounds |
Transforms the axis-aligned bounding box bounds by transform: this represents an approximation of the real bounding box after transformation
| |
| GenerateCubicTextureCoordinates |
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)
| |
| GenerateCylindricalTextureCoordinates |
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)
| |
| GeneratePlanarTextureCoordinates |
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)
| |
| GenerateSphericalTextureCoordinates |
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)
| |
| GetAABB |
Gets the true AABB of the provided parent object and all of its children.
This method applies any transforms before computing the bounding box.
| |
| GetCircumferenceSuggestedSides |
Calculates a suggested count of radial sides for a circular shape to appear smooth.
| |
| GetDescendantBounds |
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.
| |
| GetDescendantCenter |
Gets the Point3D that is the center of the descendant obejcts
| |
| GetPolyCount |
Get the internal details for the specified mesh
| |
| GetVisualParent |
Get the parent of a given Dependency Object
| |
| InitializeLightsAndCamera |
Initialize the default lighting in a Viewport3D | |
| RecalculateNormals |
Recalculates normals
| |
| RepairMesh |
Repairs a MeshGeometry3D from geometry connectivity
point of view (joining duplicate vertices, removing invalid
triangles etc.).
|