Пример #1
0
        static public bool IsNotUsed(this FaceCloudFace item)
        {
            if (item.IsUsed() == false)
            {
                return(true);
            }

            return(false);
        }
Пример #2
0
        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);
            }
        }