[geos-devel] Performance of GEOS

Norman Vine nhv at cape.com
Tue Nov 5 18:45:31 EST 2002


Yury A. Bychkov writes:
>
> Done. The test classes are in 'bigtest' directory.

Thanks :-)

FYI I have a problem with 

Coordinate EdgeEndStar::getCoordinate(){
 vector<EdgeEnd*>::iterator it=getIterator();
 if (it==NULL) return Coordinate::getNull();
 EdgeEnd *e=*it;
 return e->getCoordinate();
}

So I have been using

Coordinate EdgeEndStar::getCoordinate(){
    if (getEdges()->size() == 0 )
        return Coordinate::getNull();
 vector<EdgeEnd*>::iterator it=getIterator();
 EdgeEnd *e=*it;
 return e->getCoordinate();
}

I think that this is what is intended

I also need to change  
string WKTWriter::createFormatter(PrecisionModel precisionModel) {

  decimalPlaces = 1 + (int) ceil(log(precisionModel.getScale())/log(10));
to
  decimalPlaces = 1 + (int) ceil(log(precisionModel.getScale())/log(10.0));


Norman





Norman






More information about the geos-devel mailing list