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

Method FilterOutPoint

isis/src/control/objs/ControlNetFilter/ControlNetFilter.cpp:91–96  ·  view source on GitHub ↗

* Check the filtered point to be editlocked before removing from the * current control network. * * @author Sharmila Prasad (7/22/2011) * * @param pindex - Control Point index */

Source from the content-addressed store, hash-verified

89 * @param pindex - Control Point index
90 */
91 void ControlNetFilter::FilterOutPoint(int pindex){
92 if ( mCNet->GetPoint(pindex)->IsEditLocked() ) {
93 mCNet->GetPoint(pindex)->SetEditLock(false);
94 }
95 mCNet->DeletePoint(pindex);
96 }
97
98 /**
99 * Delete the network for an Image given Serial Number for all the

Callers

nothing calls this directly

Calls 4

GetPointMethod · 0.80
DeletePointMethod · 0.80
IsEditLockedMethod · 0.45
SetEditLockMethod · 0.45

Tested by

no test coverage detected