
Geometry : 
Subject: Re: [geometry] Is the de9im class usable yet
From: Adam Wulkiewicz (adam.wulkiewicz_at_[hidden])
Date: 20140515 20:15:26
Hi Aaron,
Aaron Josephs wrote:
> I can't seem to figure out how to use the de9im class in boost
> geometry (posted SO question here
> http://stackoverflow.com/questions/23684869/istheboostde9imstructusable).
> Maybe I'm just missing something but is it even in a usable state yet,
> an example of a point within a polygon calculation would be greatly
> appreciated.
It doesn't make sense to discuss on StackOverflow in the comments so I'd
like to move the discussion here.
You said:
"Already using the rtree, I only ask this question because the JTS
implementation of within using a prepared geometry is killing
boost::geometry::within, and JTS is in java"
I'm curious how did you compare the libraries?
What was the test case?
Many tests for Points within only one Polygon?
If yes, then have you tried to first calculate the bounding box of a
Polygon and use it for the first check to eliminate this difference
between libraries?
Are the benchmarks available somewhere?
Regards,
Adam
Geometry list run by mateusz at loskot.net