tin:findtintrianglesat


(tin:findtintrianglesat  tinEname  point)

This function returns the TinTriangles on the tinEname TinSurface entity, at the location of input point.

Arguments

tinEname  (ename or vla-object)  the TinSurface entity to query
point  (2d/3d point list)  the point to be searched; Z elevation is ignored

Return

(list of triangle point lists) first triangle contains the queried points, subsequent triangle lists are all the neighbours of that primary triangle

Example

(tin:findtintrianglesat tin '(50 50 10))
(((75.0 45.0 5.0) (55.0 55.0 2.0) (50.0 50.0 10.0)) ((55.0 55.0 2.0) (40.0 70.0 10.0) (50.0 50.0 10.0)) ((25.0 25.0 6.0) (50.0 50.0 10.0) (40.0 70.0 10.0)) ((25.0 25.0 6.0) (80.0 20.0 7.0) (50.0 50.0 10.0)) ((50.0 50.0 10.0) (80.0 20.0 7.0) (75.0 45.0 5.0)))

(tin:findtintrianglesat tin '(50 50))
(((75.0 45.0 5.0) (55.0 55.0 2.0) (50.0 50.0 10.0)) ((55.0 55.0 2.0) (40.0 70.0 10.0) (50.0 50.0 10.0)) ((25.0 25.0 6.0) (50.0 50.0 10.0) (40.0 70.0 10.0)) ((25.0 25.0 6.0) (80.0 20.0 7.0) (50.0 50.0 10.0)) ((50.0 50.0 10.0) (80.0 20.0 7.0) (75.0 45.0 5.0)))

Remarks

see (tin:findtinpointat) function



©  Bricsys NV. All rights reserved.