C# Class Voronoi2.GraphEdge

Afficher le fichier Open project: evilfactory/Barotrauma-lua-attempt Class Usage Examples

Méthodes publiques

Свойство Type Description
Cell1 Voronoi2.VoronoiCell
IsSolid bool
NextToCave bool
OutsideLevel bool
Point1 Vector2
Site1 Site

Méthodes publiques

Méthode Description
AdjacentCell ( Voronoi2.VoronoiCell cell ) : Voronoi2.VoronoiCell
GetNormal ( Voronoi2.VoronoiCell cell ) : Vector2

Returns the normal of the edge that points outwards from the specified cell

GraphEdge ( Vector2 point1, Vector2 point2 ) : Barotrauma
ToString ( ) : string

Method Details

AdjacentCell() public méthode

public AdjacentCell ( Voronoi2.VoronoiCell cell ) : Voronoi2.VoronoiCell
cell Voronoi2.VoronoiCell
Résultat Voronoi2.VoronoiCell

GetNormal() public méthode

Returns the normal of the edge that points outwards from the specified cell
public GetNormal ( Voronoi2.VoronoiCell cell ) : Vector2
cell Voronoi2.VoronoiCell
Résultat Vector2

GraphEdge() public méthode

public GraphEdge ( Vector2 point1, Vector2 point2 ) : Barotrauma
point1 Vector2
point2 Vector2
Résultat Barotrauma

ToString() public méthode

public ToString ( ) : string
Résultat string

Property Details

Cell1 public_oe property

public VoronoiCell,Voronoi2 Cell1
Résultat Voronoi2.VoronoiCell

IsSolid public_oe property

public bool IsSolid
Résultat bool

NextToCave public_oe property

public bool NextToCave
Résultat bool

OutsideLevel public_oe property

public bool OutsideLevel
Résultat bool

Point1 public_oe property

public Vector2 Point1
Résultat Vector2

Site1 public_oe property

public Site,Voronoi2 Site1
Résultat Site