- TopoDS_Shape aShape, aResult;
-
- if ( myObj->_is_nil() ||
- !GEOMBase::GetShape( myObj, aShape ) ||
- aShape.IsNull() ||
- aShape.ShapeType() != TopAbs_EDGE ||
- !GEOMBase::CreateArrowForLinearEdge( aShape, aResult ) ||
- aResult.IsNull() )
- return 0;
-
- return getDisplayer()->BuildPrs( aResult );