File failed to load: https://isis.astrogeology.usgs.gov/3.9.0/Object/assets/jax/output/NativeMML/config.js
Isis 3 Programmer Reference
PointParentItem.cpp
1 #include "IsisDebug.h"
2 
3 #include "PointParentItem.h"
4 
5 #include "MeasureLeafItem.h"
6 
7 
8 namespace Isis {
9  PointParentItem::PointParentItem(ControlPoint *cp,
10  int avgCharWidth, AbstractTreeItem *parent)
11  : AbstractTreeItem(parent), AbstractPointItem(cp, avgCharWidth) {
12  }
13 
14 
15  PointParentItem::~PointParentItem() {
16  }
17 
18 
19  void PointParentItem::addChild(AbstractTreeItem *child) {
20  // Only MeasureLeafItems should be children of PointParentItems
21  ASSERT(dynamic_cast< MeasureLeafItem * >(child));
22 
23  AbstractParentItem::addChild(child);
24  }
25 }
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the USGS Astrogeology Discussion Board
To report a bug, or suggest a feature go to: ISIS Github
File Modified: 07/12/2023 23:27:17