in reply to Subroutine Subtrefuge
1. The data in the <points>...</points> element is a list of points in 3-space. You are only interested in the first two coordinates, so you are treating them as points in 2-space (or ordered pairs). These coordinates represent the vertices of a polygon (inferred by the name of your variable.)
2. Each <tag>...</tag> element specifies two polygons (or perhaps even more than two), and they are given names specified by the <name>...</name> element.
3. Given two polygons, p1 and p2, you want to call a function, f(e1, e2), on all pairs of edges where e1 is an edge of p1 and e2 is an edge of p2. An edge of a polygon is defined by two adjacent vertices of the polygon.
Is this essentially what you are trying to do?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Subroutine Subtrefuge
by AF_One (Novice) on Jun 08, 2008 at 03:40 UTC | |
by jethro (Monsignor) on Jun 08, 2008 at 13:24 UTC |