tin:gettrianglescount


(tin:gettrianglescount  tinEname  visibleOnly)

This function returns the number of all or visibleOnly triangles 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 count all definition triangles (NIL), or only the visible points (T)

Return

(integer) number of points

Example

(tin:getTrianglesCount tin T)  34
(tin:getTrianglesCount tin NIL)  41

Remarks

see (tin:getpointscount) function



©  Bricsys NV. All rights reserved.