tin:getarea2d


(tin:getarea2d  tinEname  visibleOnly)

This function returns the 2d area (as projected to 0 or reference height) for the triangles using of all or visibleOnly points used by the definition of the tinEname TinSurface entity.

Arguments

tinEname  (ename or vla-object)  the TinSurface entity to query
visibleOnly  (T/NIL) specifies whether to use the triangles of all definition points (NIL), or only the triangles of visible points (T)

Return

(double) 3d area value, or 0

Example

(tin:getArea2d tin T)  342.56
(tin:getArea2d tin NIL)  355.60

Remarks

see (tin:getarea3d) function



©  Bricsys NV. All rights reserved.