using System;
namespace Plankton
{
public class PlanktonFace
{
public int FirstHalfedge;
public PlanktonFace()
{
this.FirstHalfedge = -1;
}
internal PlanktonFace(int halfedgeIndex)
{
this.FirstHalfedge = halfedgeIndex;
}
public static PlanktonFace Unset
{
get { return new PlanktonFace() { FirstHalfedge = -1 }; }
}
public bool IsUnused { get { return (this.FirstHalfedge < 0); } }
[Obsolete()]
public bool Dead { get { return this.IsUnused; } }
}
}