tin:getpointsinsidepolygon


(tin:getpointsinsidepolygon  tinEname  polygon  inclOnEdge)

This function returns all points of the tinEname TinSurface entity, located inside the polygon, optionally including the edge points if inclOnEdge is T.

Arguments

tinEname  (ename or vla-object)  the TinSurface entity to query
polygon  (list of 2d/3d points) specifies the polygon
inclOnEdge  (T/NIL) specifies whether to to include those points located on the polygon (T), or to exclude such "on-edge" points (NIL)

Return

(list of 3d points) all TinSurface points included inside the specified polygon

Example

(tin:getPointsInsidePolygon tin '((20 -20) (120 50) (70 120)) T)
((40.0 70.0 10.0) (70.0 60.0 3.0) (55.0 55.0 2.0) (75.0 45.0 5.0) (50.0 50.0 10.0) (25.0 25.0 6.0))

Remarks




©  Bricsys NV. All rights reserved.