Documentation of 'org.apache.commons.math3.geometry.enclosing.WelzlEncloser' Java class
WelzlEncloser
org.apache.commons.math3.geometry.enclosing

Class WelzlEncloser<S extends Space,P extends Point<S>>

    • Constructor Detail

      • WelzlEncloser

        public WelzlEncloser(double tolerance,
                             SupportBallGenerator<S,P> generator)
        Simple constructor.
        Parameters:
        tolerance - below which points are consider to be identical
        generator - generator for balls on support
    • Method Detail

      • enclose

        public EnclosingBall<S,P> enclose(java.lang.Iterable<P> points)
        Find a ball enclosing a list of points.
        Specified by:
        enclose in interface Encloser<S extends Space,P extends Point<S>>
        Parameters:
        points - points to enclose
        Returns:
        enclosing ball
      • selectFarthest

        public P selectFarthest(java.lang.Iterable<P> points,
                                EnclosingBall<S,P> ball)
        Select the point farthest to the current ball.
        Parameters:
        points - points to be enclosed
        ball - current ball
        Returns:
        farthest point

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.