Utils¶
-
class
loas.utils.projected_area(mesh, normal)¶ Get the mesh’s projected area along a certain vector It was initially unseen in trimesh’s code It could be replaced by trimesh.path.polygons.projected(m, normal=[1,1,0]).area now See : https://github.com/mikedh/trimesh/issues/898
- Parameters
mesh (trimesh.Trimesh) – Mesh
normal (loas.Vec) – Normal vector to the plane on which the mesh should be projected