[postgis-tickets] [PostGIS] #1498: ST_CrossProduct ?
PostGIS
trac at osgeo.org
Fri Feb 20 05:25:14 PST 2015
#1498: ST_CrossProduct ?
-------------------------+--------------------------------------------------
Reporter: strk | Owner: pramsey
Type: enhancement | Status: new
Priority: low | Milestone: PostGIS Future
Component: postgis | Version: trunk
Keywords: |
-------------------------+--------------------------------------------------
Comment(by remic):
For the record,
I first wrote a version that used topology node (instead of edge geom
node).
However SignedArea of linked toplogy node was a bad IsCCW detector because
it returned 0 in some simple case(2 edges forming a square = 2 nodes, 0
area, but can be CW or CCW depending on the order).
However with a robust function isCCW(point1, point2, point3), I could
write a faster version that does't use the edge geom (and would return
only orientation, not signed area)
.
Cheers,
Rémi-C
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1498#comment:12>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list