Opened 15 years ago
Closed 15 years ago
#3118 closed enhancement (fixed)
OGREnvelope intersect
Reported by: | bishop | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.7.0 |
Component: | OGR_SF | Version: | svn-trunk |
Severity: | normal | Keywords: | OGREnvelope intersect |
Cc: |
Description
As the oposite to Merge method I added Intersect method
Attachments (2)
Change History (5)
by , 15 years ago
Attachment: | ogrenvelope_intersect.patch added |
---|
comment:1 by , 15 years ago
your implementation of Intersect() can lead to an invalid envelop (a min > max) if the intersection is null. You should reset all minx,maxx,miny,maxy to 0 in that case.
I don't see the usefullness of void Intersect( double dfX, double dfY ) (I know there's an equivalent method for Merge(), but for intersect I'm more skeptical)
comment:3 by , 15 years ago
Milestone: | → 1.7.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Commited in trunk in r17602
Note:
See TracTickets
for help on using tickets.
OGREnvelope intersect