MCPcopy Create free account
hub / github.com/DOI-USGS/ISIS3 / GetNumValidPoints

Method GetNumValidPoints

isis/src/control/objs/ControlNet/ControlNet.cpp:1503–1511  ·  view source on GitHub ↗

* Returns the number of non-ignored control points * * @return Number of valid control points */

Source from the content-addressed store, hash-verified

1501 * @return Number of valid control points
1502 */
1503 int ControlNet::GetNumValidPoints() {
1504 int validPoints = 0;
1505 foreach(ControlPoint * p, *points) {
1506 if (!p->IsIgnored())
1507 validPoints++;
1508 }
1509
1510 return validPoints;
1511 }
1512
1513
1514 //! Return the target name

Callers 10

outputHeaderMethod · 0.80
BOOST_FOREACHFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TESTFunction · 0.80
TEST_FFunction · 0.80

Calls 2

foreachFunction · 0.70
IsIgnoredMethod · 0.45

Tested by 8

TESTFunction · 0.64
TESTFunction · 0.64
TEST_FFunction · 0.64
TEST_FFunction · 0.64
TEST_FFunction · 0.64
TEST_FFunction · 0.64
TESTFunction · 0.64
TEST_FFunction · 0.64