tin:getboundaries


(tin:getboundaries  tinEname)

This functions returns the list of all boundary polygons (list of 3d point lists) for the tinEname TinSurface entity;
besides the outer border polygon(s), also all inner 'hole' boundary polygon(s) are returned.

Provides similar functionality as the TINEXTRACT -> BORDER command sequence.


Arguments

tinEname  (ename or vla-object)  the TinSurface entity to query

Return

(list of 3D point lists)  the list of includes all outer and inner polygons of the TinSurface entity, or NIL

Example

(tin:getBorders tin)
(((40.0 70.0 10.0) (70.0 60.0 3.0) (75.0 45.0 5.0) (80.0 20.0 7.0) (10.0 10.0 2.0) (10.0 80.0 5.0) (40.0 70.0 10.0)))
=> this list contains 1 border polygon

Remarks

There can be more than only 1 polygon for a TinSurface - do not assume that only 1 polygon is always returned !



©  Bricsys NV. All rights reserved.