Operators |
convex_hull_object_model_3d — Calculate the convex hull of a 3D object model.
convex_hull_object_model_3d( : : ObjectModel3D : ObjectModel3DConvexHull)
convex_hull_object_model_3d calculates the convex hull of the 3D object model given in ObjectModel3D. The operator returns the convex hull as a 3D object model with the handle ObjectModel3DConvexHull.
If one of the dimensions of the input points has no deviation at all, the result will consist of lines and not triangles.
Note that if a 3D object model is no longer needed or should be overwritten, the memory has to be freed first by calling the operator clear_object_model_3d.
Handle of the 3D object model.
Handle of the 3D object model that describes the convex hull.
Number of elements: ObjectModel3DConvexHull == ObjectModel3D
gen_object_model_3d_from_points (rand(20)-0.5, rand(20)-0.5,\ rand(20)-0.5, ObjectModel3D) convex_hull_object_model_3d (ObjectModel3D, ObjectModel3DConvexHull) dev_get_window (WindowHandle) visualize_object_model_3d (WindowHandle, [ObjectModel3DConvexHull], \ [], [], [], [], [], [], [], PoseOut)
convex_hull_object_model_3d returns 2 (H_MSG_TRUE) if all parameters are correct. If necessary, an exception is raised.
read_object_model_3d, connection_object_model_3d, select_points_object_model_3d
3D Metrology
Operators |