Skip to content
Browse files
Much needed refactoring and code cleanups in PAL.
Removed temporary "Feat" class used for conversion of geometries from GEOS.
Renamed "Feature" class to FeaturePart as it only represents on feature part.
Added Feature class which contains common properties among feature parts.
Greatly simplified registration of features in Layer.
Simplified Layer interface.

git-svn-id: c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Jul 30, 2009
1 parent 6e3bafe commit 5e2c1f86586e0266be04cadf7281877779cbdd0f
@@ -129,7 +129,6 @@ namespace pal
// center
//cost = feat->getDistInside((this->x[0] + this->x[2])/2.0, (this->y[0] + this->y[2])/2.0 );

pCost->update( lp->feature );

PointSet *extent = new PointSet( 4, bbx, bby );
@@ -144,7 +143,6 @@ namespace pal

lp->setCost( pCost->getCost() );

delete pCost;

0 comments on commit 5e2c1f8

Please sign in to comment.