C# Class SilverlightMappingToolBasic.SingleDepth.NodeLocationOrganiser

Mostra file Open project: chris-tomich/Glyma Class Usage Examples

Private Properties

Property Type Description
CalculateXOffset double
CalculateYOffset double

Public Methods

Method Description
GetLocation ( ISingleDepthNodeRenderer nodeRenderer ) : Point
NodeLocationOrganiser ( ) : System

Private Methods

Method Description
CalculateXOffset ( ISingleDepthNodeRenderer nodeRenderer ) : double

Method represents the calculation sqrt(R^2 - (R - y)^2) where R is the radius and y is the 'DistanceFromOrigin'.

CalculateYOffset ( ISingleDepthNodeRenderer nodeRenderer ) : double

Method Details

GetLocation() public method

public GetLocation ( ISingleDepthNodeRenderer nodeRenderer ) : Point
nodeRenderer ISingleDepthNodeRenderer
return Point

NodeLocationOrganiser() public method

public NodeLocationOrganiser ( ) : System
return System