static public bool IsNotUsed(this FaceCloudFace item) { if (item.IsUsed() == false) { return(true); } return(false); }
private void BuildVertexLoop(FaceCloudFace face, List <Vector2> vertex_loop) { double rating = 0.0; double maximum_rating = connection_tolerance * connection_tolerance; while (face != null && rating <= maximum_rating) { vertex_loop.Add(face.GetFace().v0); face.Use(); face = faces.Narrow(f => f.IsNotUsed()) .FindLowestRated(f => face.GetFace().v1.GetSquaredDistanceTo(f.GetFace().v0), out rating); } }