* Returns the total number of measures for all control points in the network * * @return Number of control measures */
| 1460 | * @return Number of control measures |
| 1461 | */ |
| 1462 | int ControlNet::GetNumMeasures() const { |
| 1463 | int numMeasures = 0; |
| 1464 | foreach(ControlPoint * p, *points) { |
| 1465 | numMeasures += p->GetNumMeasures(); |
| 1466 | } |
| 1467 | |
| 1468 | return numMeasures; |
| 1469 | } |
| 1470 | |
| 1471 | |
| 1472 | //! Return the number of control points in the network |