tin:drapebyentity
(tin:drapebyentity tinEname
entity)
This function drapes (projects) the input
contour from entity onto the tinEname
TinSurface entity.
Arguments
|
tinEname (ename or vla-object) the TinSurface entity to
query
entity (ename or vla-object) the entity to be
projected onto the TinSurface, as rasterised polygon
sequence(s)
|
Return
|
(list of points lists)
each list is a closed polygon contour, or NIL
|
Example
|
(tin:drapeByEntity tin
(entlast))
(((20.6150847457627 26.3633898305085
5.07704519774011) (20.6150847457627 41.0780225988701
5.70767231638418) (20.6150847457627 56.0125423728813
6.15570790960452) (35.3375141242938 56.0125423728813
8.75667043314501) (46.9937288135593 56.0125423728813 10.0)
(53.9874576271187 56.0125423728813 2.54002259887005)
(58.037627118644 56.0125423728813 2.20250847457627)
(61.1557627118644 56.0125423728813 2.5143220338983)
(61.1557627118644 51.9221186440678 2.92336440677966)
(61.1557627118644 47.7688474576271 7.76884745762712)
(61.1557627118644 38.8442372881356 8.88442372881356)
(61.1557627118644 26.3633898305085 7.26191355932203)
(26.3633898305085 26.3633898305085 6.21814237288136)
(25.4544632768362 26.3633898305085 6.12119020715631)
(24.6281664098613 26.3633898305085 5.97521109399076)
(20.6150847457627 26.3633898305085 5.07704519774011)))
this list contains 1 polygon, created from the
projected rectangle
|
Remarks
|
any "curve" based entity can
be used - arc, circle, polylines, ...; the entity will be
rasterised automatically;
the returned list can contain more than 1
polygon points list;
see (tin:drape) function
|