Barotrauma Client Doc
Voronoi2.DoubleVector2 Class Reference

Public Member Functions

 DoubleVector2 ()
 
 DoubleVector2 (double x, double y)
 
void SetPoint (double x, double y)
 
void Normalize ()
 

Public Attributes

double X
 

Detailed Description

Definition at line 62 of file VoronoiElements.cs.

Constructor & Destructor Documentation

◆ DoubleVector2() [1/2]

Voronoi2.DoubleVector2.DoubleVector2 ( )

Definition at line 66 of file VoronoiElements.cs.

◆ DoubleVector2() [2/2]

Voronoi2.DoubleVector2.DoubleVector2 ( double  x,
double  y 
)

Definition at line 70 of file VoronoiElements.cs.

Member Function Documentation

◆ Normalize()

void Voronoi2.DoubleVector2.Normalize ( )

Definition at line 82 of file VoronoiElements.cs.

◆ SetPoint()

void Voronoi2.DoubleVector2.SetPoint ( double  x,
double  y 
)

Definition at line 76 of file VoronoiElements.cs.

Member Data Documentation

◆ X

double Voronoi2.DoubleVector2.X

Definition at line 64 of file VoronoiElements.cs.