[geos-devel] No default constructor in Triangle

strk at refractions.net strk at refractions.net
Thu Mar 30 04:29:39 EST 2006


On Thu, Mar 30, 2006 at 07:02:27AM +0200, Mateusz Å?oskot wrote:
> Hi,
> 
> Is there any rationale behind not including default constructor in
> Triangle class?
> I can't see any such. If user would want to create a collection of
> triangles then the situation becomes quite complex, so I'd suggest to
> include default constructor.

That's JTS design decision.
I'd be more concerned about it using real Coordinates
rather then pointers. Do you want to check that ?

--strk;

 /"\    ASCII Ribbon Campaign
 \ /    Respect for low technology.
  X     Keep e-mail messages readable by any computer system.
 / \    Keep it ASCII. 




More information about the geos-devel mailing list