C# Class Canguro.Commands.View.ZoomAll

Class for doing Zoom All over the active view
Inheritance: ViewCommand
显示文件 Open project: rforsbach/Treu-Structure

Public Properties

Property Type Description
Instance ZoomAll

Public Methods

Method Description
Run ( Canguro activeView ) : void

Executuion method for this command

Private Methods

Method Description
ZoomAll ( ) : System

Class constructor

findMaxPoints ( System.Vector3 min, System.Vector3 max, Canguro activeView ) : System.Vector2[]

From min and max coords of the BB, project them according to the active view, for determining zooming scale

Method Details

Run() public method

Executuion method for this command
public Run ( Canguro activeView ) : void
activeView Canguro The view to zoom
return void

Property Details

Instance public_oe static_oe property

Make a singleton for this command
public static ZoomAll,Canguro.Commands.View Instance
return ZoomAll