- inline bool isExternal() const
- {
- AttributeSelectionPtr aAttr = data()->selection(EXTERNAL_ID());
- if (aAttr)
- return aAttr->context().get();
- return false;
- }
-
- /// Customize presentation of the feature
- virtual void customisePresentation(AISObjectPtr thePrs)
- {
- // if this is an edge
- if (thePrs->getShapeType() == 6)
- thePrs->setWidth(3);
- // if this is a vertex
- //else if (thePrs->getShapeType() == 7)
- // thePrs->setPointMarker(6, 2.);
- }
-