C# Class FortuneVoronoi.Common.Point

Mostrar archivo Open project: homoluden/fukami Class Usage Examples

Public Properties

Property Type Description
Precision double
X double
Y double

Public Methods

Method Description
DistSqr ( Point V1, Point V2 ) : double

Get the distance of two vectors

Equals ( object obj ) : bool
GetHashCode ( ) : int
Point ( double x, double y ) : System
ToString ( ) : string
operator ( ) : Point

Scale one vector

operator ( ) : bool

Scale one vector

operator ( ) : double

Get the scalar product of two vectors

Method Details

DistSqr() public static method

Get the distance of two vectors
public static DistSqr ( Point V1, Point V2 ) : double
V1 Point
V2 Point
return double

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

Point() public method

public Point ( double x, double y ) : System
x double
y double
return System

ToString() public method

public ToString ( ) : string
return string

operator() public static method

Scale one vector
public static operator ( ) : Point
return Point

operator() public static method

Scale one vector
public static operator ( ) : bool
return bool

operator() public static method

Get the scalar product of two vectors
public static operator ( ) : double
return double

Property Details

Precision public_oe static_oe property

public static double Precision
return double

X public_oe property

public double X
return double

Y public_oe property

public double Y
return double