C# Class Brunet.Services.Coordinate.Point

Mostrar archivo 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_oe static_oe property

public static int DIMENSIONS
return int

INITIAL_VECTOR_VALUE protected_oe static_oe property

protected static int INITIAL_VECTOR_VALUE
return int

MIN_HEIGHT protected_oe static_oe property

protected static double MIN_HEIGHT
return double

_height protected_oe property

protected double _height
return double

_rr protected_oe static_oe property

protected static Random,System _rr
return System.Random

_side protected_oe property

protected double[] _side
return double[]