//------------------------------------CLASSIFIERS-------------------------------//
/**
* Classifies the face if one of its vertices are classified as INSIDE or OUTSIDE
*
* @return true if the face could be classified, false otherwise
*/
public bool simpleClassify()
{
int status1 = v1.getStatus();
int status2 = v2.getStatus();
int status3 = v3.getStatus();
if (status1 == Vertex.INSIDE || status1 == Vertex.OUTSIDE)
{
this.status = status1;
return(true);
}
else if (status2 == Vertex.INSIDE || status2 == Vertex.OUTSIDE)
{
this.status = status2;
return(true);
}
else if (status3 == Vertex.INSIDE || status3 == Vertex.OUTSIDE)
{
this.status = status3;
return(true);
}
else
{
return(false);
}
}