pub fn load_from_raw_mesh(
raw_mesh: &Mesh,
converter: &MeshConverter,
scale: Vector,
) -> Result<(SharedShape, Pose), MeshConverterError>Expand description
Loads an file as a shape from a preloaded raw mesh_loader::Mesh.
ยงParameters
raw_mesh: the raw mesh.converter: controls how the shape is computed from the STL content. In particular, it lets you specify if the computedSharedShapeis a triangle mesh, its convex hull, bounding box, etc.scale: the scaling factor applied to the geometry input to theconverter. This scale will affect at the geometric level theLoadedShape::shape. Note that raw mesh value stored inLoadedShape::raw_meshremains unscaled.