ClassesClasses | | Operators

area_object_model_3darea_object_model_3dAreaObjectModel3dAreaObjectModel3d (Operator)

Name

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

Signature

area_object_model_3d( : : ObjectModel3D : Area)

Herror area_object_model_3d(const Hlong ObjectModel3D, double* 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()

Description

area_object_model_3darea_object_model_3dAreaObjectModel3dAreaObjectModel3dAreaObjectModel3d 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

ObjectModel3DObjectModel3DObjectModel3DObjectModel3DobjectModel3D (input_control)  object_model_3d(-array) HObjectModel3D, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

Handle of the 3D object model.

AreaAreaAreaAreaarea (output_control)  number(-array) HTupleHTupleHtuple (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_3dAreaObjectModel3dAreaObjectModel3dAreaObjectModel3d returns 2 (H_MSG_TRUE) if all parameters are correct. If necessary, an exception is raised.

Possible Predecessors

connection_object_model_3dconnection_object_model_3dConnectionObjectModel3dConnectionObjectModel3dConnectionObjectModel3d, select_points_object_model_3dselect_points_object_model_3dSelectPointsObjectModel3dSelectPointsObjectModel3dSelectPointsObjectModel3d, prepare_object_model_3dprepare_object_model_3dPrepareObjectModel3dPrepareObjectModel3dPrepareObjectModel3d, convex_hull_object_model_3dconvex_hull_object_model_3dConvexHullObjectModel3dConvexHullObjectModel3dConvexHullObjectModel3d

Possible Successors

select_object_model_3dselect_object_model_3dSelectObjectModel3dSelectObjectModel3dSelectObjectModel3d

See also

volume_object_model_3d_relative_to_planevolume_object_model_3d_relative_to_planeVolumeObjectModel3dRelativeToPlaneVolumeObjectModel3dRelativeToPlaneVolumeObjectModel3dRelativeToPlane, max_diameter_object_model_3dmax_diameter_object_model_3dMaxDiameterObjectModel3dMaxDiameterObjectModel3dMaxDiameterObjectModel3d, moments_object_model_3dmoments_object_model_3dMomentsObjectModel3dMomentsObjectModel3dMomentsObjectModel3d

Module

3D Metrology


ClassesClasses | | Operators