C# Class csUSDomainPlugin.Effects.Util.DirectionTool

Inheritance: PropertyChangedBase
Exibir arquivo Open project: TNOCS/csTouch Class Usage Examples

Public Properties

Property Type Description
BaseEffectsModelShapes GraphicCollection
ContoursLayer GraphicsLayer
EffectsModelShapes GraphicCollection
Finish csUSDomainPlugin.Effects.Views.EffectsPoint
Layer GroupLayer
Line Graphic
MLayer GraphicsLayer
SettingsViewModel csUSDomainPlugin.Effects.ViewModels.EffectsModelSettingsViewModel
Start csUSDomainPlugin.Effects.Views.EffectsPoint
_finish Graphic
_start Graphic

Public Methods

Method Description
GetAngle ( MapPoint p1, MapPoint p2 ) : double
GetAngle ( double px1, double py1, double px2, double py2 ) : double
GetDistance ( ) : double
GetWindDirection ( ) : string
Init ( GroupLayer gl, MapPoint start, MapPoint finish, System.Windows.ResourceDictionary rd ) : void
RotatePoint ( MapPoint point, MapPoint origin, float angle ) : MapPoint
ViewDef_MapManipulationDelta ( object sender, EventArgs e ) : void

Private Methods

Method Description
Remove ( ) : void
SettingsViewModelOnPropertyChanged ( object sender, PropertyChangedEventArgs propertyChangedEventArgs ) : void
UpdateLine ( ) : void
UpdateModelShape ( ) : void
UpdatePoint ( string state, MapPoint geometry ) : void

Method Details

GetAngle() public method

public GetAngle ( MapPoint p1, MapPoint p2 ) : double
p1 MapPoint
p2 MapPoint
return double

GetAngle() public method

public GetAngle ( double px1, double py1, double px2, double py2 ) : double
px1 double
py1 double
px2 double
py2 double
return double

GetDistance() public method

public GetDistance ( ) : double
return double

GetWindDirection() public method

public GetWindDirection ( ) : string
return string

Init() public method

public Init ( GroupLayer gl, MapPoint start, MapPoint finish, System.Windows.ResourceDictionary rd ) : void
gl GroupLayer
start MapPoint
finish MapPoint
rd System.Windows.ResourceDictionary
return void

RotatePoint() public method

public RotatePoint ( MapPoint point, MapPoint origin, float angle ) : MapPoint
point MapPoint
origin MapPoint
angle float
return MapPoint

ViewDef_MapManipulationDelta() public method

public ViewDef_MapManipulationDelta ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Property Details

BaseEffectsModelShapes public_oe property

public GraphicCollection BaseEffectsModelShapes
return GraphicCollection

ContoursLayer public_oe property

public GraphicsLayer ContoursLayer
return GraphicsLayer

EffectsModelShapes public_oe property

public GraphicCollection EffectsModelShapes
return GraphicCollection

Finish public_oe property

public EffectsPoint,csUSDomainPlugin.Effects.Views Finish
return csUSDomainPlugin.Effects.Views.EffectsPoint

Layer public_oe property

public GroupLayer Layer
return GroupLayer

Line public_oe property

public Graphic Line
return Graphic

MLayer public_oe property

public GraphicsLayer MLayer
return GraphicsLayer

SettingsViewModel public_oe property

public EffectsModelSettingsViewModel,csUSDomainPlugin.Effects.ViewModels SettingsViewModel
return csUSDomainPlugin.Effects.ViewModels.EffectsModelSettingsViewModel

Start public_oe property

public EffectsPoint,csUSDomainPlugin.Effects.Views Start
return csUSDomainPlugin.Effects.Views.EffectsPoint

_finish public_oe property

public Graphic _finish
return Graphic

_start public_oe property

public Graphic _start
return Graphic