Exemple #1
0
    private void ProcessNewFace(Shape2 shape, List <Point2> points, Edge2 newEdge)
    {
        if (DefinesNewFace(points))
        {
            shape.Faces.Add(GetNewFace(points, m_Normal));

            if (IsNewlyFormedEdge(newEdge))
            {
                shape.AddNewEdgeFromFaceSplit(newEdge);
            }
        }
    }