C# Class Brunet.Services.Coordinate.Point

Show file Open project: johnynek/brunet

Public Properties

Property Type Description
DIMENSIONS int

Protected Properties

Property Type Description
INITIAL_VECTOR_VALUE int
MIN_HEIGHT double
_height double
_rr System.Random
_side double[]

Public Methods

Method Description
Add ( Point p ) : void
Bump ( ) : void
CheckHeight ( ) : void
Equals ( Point other ) : bool
GetDirection ( Point p ) : Point
GetEucledianDistance ( Point p ) : double
GetPlanarDistance ( Point p ) : double
GetRandomUnitVector ( ) : Point
Length ( ) : double
Point ( ) : System
Point ( IDictionary ht ) : System
Point ( Point p ) : System
Point ( double side, double height ) : System
Point ( string s ) : System
Scale ( double s ) : void
ToDictionary ( ) : IDictionary
ToString ( ) : string

Method Details

Add() public method

public Add ( Point p ) : void
p Point
return void

Bump() public method

public Bump ( ) : void
return void

CheckHeight() public method

public CheckHeight ( ) : void
return void

Equals() public method

public Equals ( Point other ) : bool
other Point
return bool

GetDirection() public method

public GetDirection ( Point p ) : Point
p Point
return Point

GetEucledianDistance() public method

public GetEucledianDistance ( Point p ) : double
p Point
return double

GetPlanarDistance() public method

public GetPlanarDistance ( Point p ) : double
p Point
return double

GetRandomUnitVector() public static method

public static GetRandomUnitVector ( ) : Point
return Point

Length() public method

public Length ( ) : double
return double

Point() public method

public Point ( ) : System
return System

Point() public method

public Point ( IDictionary ht ) : System
ht IDictionary
return System

Point() public method

public Point ( Point p ) : System
p Point
return System

Point() public method

public Point ( double side, double height ) : System
side double
height double
return System

Point() public method

public Point ( string s ) : System
s string
return System

Scale() public method

public Scale ( double s ) : void
s double
return void

ToDictionary() public method

public ToDictionary ( ) : IDictionary
return IDictionary

ToString() public method

public ToString ( ) : string
return string

Property Details

DIMENSIONS public static property

public static int DIMENSIONS
return int

INITIAL_VECTOR_VALUE protected static property

protected static int INITIAL_VECTOR_VALUE
return int

MIN_HEIGHT protected static property

protected static double MIN_HEIGHT
return double

_height protected property

protected double _height
return double

_rr protected static property

protected static Random,System _rr
return System.Random

_side protected property

protected double[] _side
return double[]