[geos-devel] Re: [GEOS] #325: there is no destroy function for CoordinateSequence

GEOS geos-trac at osgeo.org
Tue Jul 5 07:32:19 EDT 2011


#325: there is no destroy function for CoordinateSequence
------------------------+---------------------------------------------------
 Reporter:  aharon      |        Owner:  geos-devel@…              
     Type:  task        |       Status:  closed                    
 Priority:  blocker     |    Milestone:                            
Component:  Default     |      Version:  svn-trunk                 
 Severity:  Unassigned  |   Resolution:  wontfix                   
 Keywords:              |  
------------------------+---------------------------------------------------
Changes (by strk):

  * status:  new => closed
  * resolution:  => wontfix


Comment:

 In JTS GeometryFactory is a class while CoordinateSequenceFactory is an
 interface.
 In JTS neither GeometryFactory nor CoordinateSequenceFactory have a
 destroy function.

 Anyway, if you feel like it'd be needed, you can provide a patch, but
 there's currently not much such functions would do beside simply using
 delete against the object, and unless you prevent directly using 'delete'
 I don't see much point in exposing an interface hiding that part.

-- 
Ticket URL: <http://trac.osgeo.org/geos/ticket/325#comment:4>
GEOS <http://geos.refractions.net/>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).


More information about the geos-devel mailing list