Class QuadEdgeSubdivision.TriangleCircumcentreVisitor

  • All Implemented Interfaces:
    TriangleVisitor
    Enclosing class:
    QuadEdgeSubdivision

    private static class QuadEdgeSubdivision.TriangleCircumcentreVisitor
    extends java.lang.Object
    implements TriangleVisitor
    A TriangleVisitor which computes and sets the circumcentre as the origin of the dual edges originating in each triangle.
    • Constructor Detail

      • TriangleCircumcentreVisitor

        public TriangleCircumcentreVisitor()
    • Method Detail

      • visit

        public void visit​(QuadEdge[] triEdges)
        Description copied from interface: TriangleVisitor
        Visits the QuadEdges of a triangle.
        Specified by:
        visit in interface TriangleVisitor
        Parameters:
        triEdges - an array of the 3 quad edges in a triangle (in CCW order)