getNumPoints method
Returns the count of this Geometry
s vertices. The Geometry
s contained by composite Geometry
s must be
Geometry's; that is, they must implement getNumPoints
@return the number of vertices in this Geometry
Implementation
int getNumPoints() {
int numPoints = shell!.getNumPoints();
for (int i = 0; i < holes!.length; i++) {
numPoints += holes![i].getNumPoints();
}
return numPoints;
}