




  // Copyright (C) 1995 Taligent, Inc. All rights reserved.
  TToolInteractor*
  TCanvasPolygonCreationTool::CreateInteractor (MToolTarget* target) const
  {
      TCanvasPolygonCreationInteractor* theInteractor = NIL;
      
      MCanvasSelection *selection = NIL;
      ::DynamicCastTo (selection, target);
      
      if ( selection ) {
          theInteractor = new TCanvasPolygonCreationInteractor (
                          selection, 
                          ::NonConst(*this)->GetToolHandler());
                                  
          theInteractor->SetCoordinateView (::NonConst(*this)->GetToolView());
          }
  
      return theInteractor;
  }
 Click the icon to mail questions or corrections about this material to Taligent personnel.
Click the icon to mail questions or corrections about this material to Taligent personnel.