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

Method DeletePoint

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

* Delete a ControlPoint from the network by the point's address. * * @param point The point to delete */

Source from the content-addressed store, hash-verified

873 * @param point The point to delete
874 */
875 int ControlNet::DeletePoint(ControlPoint *point) {
876 if (points->values().contains(point)) {
877 return DeletePoint(point->GetId());
878 }
879 else {
880 IString msg = "point [";
881 msg += (long) point;
882 msg += "] does not exist in the network";
883 throw IException(IException::User, msg, _FILEINFO_);
884 }
885 }
886
887
888 /**

Callers 15

mainFunction · 0.80
FilterOutPointMethod · 0.80
mainFunction · 0.80
mergeNetworkFunction · 0.80
IsisMainFunction · 0.80
omitFunction · 0.80
deletePointFunction · 0.80
pointregFunction · 0.80
deletePointMethod · 0.80
deletePointsMethod · 0.80
deletePointMethod · 0.80
deletePointMethod · 0.80

Calls 15

IStringClass · 0.85
GetIdMethod · 0.80
getMeasuresMethod · 0.80
atMethod · 0.80
foreachFunction · 0.70
IExceptionClass · 0.50
containsMethod · 0.45
valuesMethod · 0.45
IsEditLockedMethod · 0.45
IsIgnoredMethod · 0.45
DeleteMethod · 0.45
removeMethod · 0.45

Tested by 3

mainFunction · 0.64
mainFunction · 0.64
TEST_FFunction · 0.64