Class Spoint


  • public final class Spoint
    extends java.lang.Object
    • Field Detail

      • x

        public final double x
      • y

        public final double y
      • chnext

        public Spoint chnext
      • chprev

        public Spoint chprev
    • Constructor Detail

      • Spoint

        public Spoint​(double inx,
                      double iny)
    • Method Detail

      • Insert

        public boolean Insert​(Spoint who)
      • VirtualInsert

        public Spoint VirtualInsert​(Spoint who)
      • Delete

        public Spoint Delete()
      • AddClosest

        public void AddClosest​(Spoint who,
                               long col)
      • NNDelete

        public void NNDelete()
      • AddSpheresLink

        public void AddSpheresLink​(Spoint who,
                                   long col)
      • AddSpheresLink

        public void AddSpheresLink​(Spoint who)
      • distance

        public double distance​(Spoint other)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • scale

        public Spoint scale​(double byWhat)
      • NormalRight

        public Spoint NormalRight()
      • normalLeft

        public Spoint normalLeft()
      • Normalize

        public Spoint Normalize()
      • Negate

        public Spoint Negate()
      • Polar2Vect

        public static Spoint Polar2Vect​(double r,
                                        double theta)
      • angleBetweenPoints

        public static double angleBetweenPoints​(Spoint a,
                                                Spoint b,
                                                Spoint c)