area_object_model_3d🔗
Short description🔗
area_object_model_3d — Calculate the area of all faces of a 3D object model.
Signature🔗
area_object_model_3d( object_model_3d ObjectModel3D, out number Area )
Description🔗
area_object_model_3d calculates the area of all faces in a
3D object model. The 3D object model requires faces or triangles.
The resulting area is returned in Area.
Execution information🔗
Execution information
-
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
-
Multithreading scope: global (may be called from any thread).
-
Processed without parallelization.
Parameters🔗
ObjectModel3D (input_control) object_model_3d(-array) → (handle)
Handle of the 3D object model.
Area (output_control) number(-array) → (real)
Calculated area.
Number of elements: Area == ObjectModel3D
Example🔗
(HDevelop)
gen_box_object_model_3d ([0,0,0,0,0,0,0],3,2,1, ObjectModel3D)
convex_hull_object_model_3d (ObjectModel3D, ObjectModel3DConvexHull)
area_object_model_3d (ObjectModel3DConvexHull, Area)
Result🔗
area_object_model_3d returns 2 (H_MSG_TRUE) if all parameters
are correct. If necessary, an exception is raised.
Combinations with other operators🔗
Combinations
Possible predecessors
connection_object_model_3d, select_points_object_model_3d, prepare_object_model_3d, convex_hull_object_model_3d
Possible successors
See also
volume_object_model_3d_relative_to_plane, max_diameter_object_model_3d, moments_object_model_3d
Module🔗
3D Metrology