area_object_model_3dT_area_object_model_3dAreaObjectModel3dAreaObjectModel3darea_object_model_3d (Operator)

Name

area_object_model_3dT_area_object_model_3dAreaObjectModel3dAreaObjectModel3darea_object_model_3d — Calculate the area of all faces of a 3D object model.

Signature

area_object_model_3d( : : ObjectModel3D : Area)

Herror T_area_object_model_3d(const Htuple ObjectModel3D, Htuple* Area)

void AreaObjectModel3d(const HTuple& ObjectModel3D, HTuple* Area)

static HTuple HObjectModel3D::AreaObjectModel3d(const HObjectModel3DArray& ObjectModel3D)

double HObjectModel3D::AreaObjectModel3d() const

static void HOperatorSet.AreaObjectModel3d(HTuple objectModel3D, out HTuple area)

static HTuple HObjectModel3D.AreaObjectModel3d(HObjectModel3D[] objectModel3D)

double HObjectModel3D.AreaObjectModel3d()

def area_object_model_3d(object_model_3d: MaybeSequence[HHandle]) -> Sequence[float]

def area_object_model_3d_s(object_model_3d: MaybeSequence[HHandle]) -> float

Description

area_object_model_3darea_object_model_3dAreaObjectModel3dAreaObjectModel3darea_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 AreaAreaAreaareaarea.

Execution Information

Parameters

ObjectModel3DObjectModel3DObjectModel3DobjectModel3Dobject_model_3d (input_control)  object_model_3d(-array) HObjectModel3D, HTupleMaybeSequence[HHandle]HTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the 3D object model.

AreaAreaAreaareaarea (output_control)  number(-array) HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

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_3darea_object_model_3dAreaObjectModel3dAreaObjectModel3darea_object_model_3d returns 2 ( H_MSG_TRUE) if all parameters are correct. If necessary, an exception is raised.

Possible Predecessors

connection_object_model_3dconnection_object_model_3dConnectionObjectModel3dConnectionObjectModel3dconnection_object_model_3d, select_points_object_model_3dselect_points_object_model_3dSelectPointsObjectModel3dSelectPointsObjectModel3dselect_points_object_model_3d, prepare_object_model_3dprepare_object_model_3dPrepareObjectModel3dPrepareObjectModel3dprepare_object_model_3d, convex_hull_object_model_3dconvex_hull_object_model_3dConvexHullObjectModel3dConvexHullObjectModel3dconvex_hull_object_model_3d

Possible Successors

select_object_model_3dselect_object_model_3dSelectObjectModel3dSelectObjectModel3dselect_object_model_3d

See also

volume_object_model_3d_relative_to_planevolume_object_model_3d_relative_to_planeVolumeObjectModel3dRelativeToPlaneVolumeObjectModel3dRelativeToPlanevolume_object_model_3d_relative_to_plane, max_diameter_object_model_3dmax_diameter_object_model_3dMaxDiameterObjectModel3dMaxDiameterObjectModel3dmax_diameter_object_model_3d, moments_object_model_3dmoments_object_model_3dMomentsObjectModel3dMomentsObjectModel3dmoments_object_model_3d

Module

3D Metrology