Class Spoint

java.lang.Object
com.treemap.treeplot.Spoint

public final class Spoint extends Object
  • Field Details

    • x

      public final double x
    • y

      public final double y
    • next

      public Spoint next
    • prev

      public Spoint prev
    • chnext

      public Spoint chnext
    • chprev

      public Spoint chprev
  • Constructor Details

    • Spoint

      public Spoint(double inx, double iny)
  • Method Details

    • 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)
    • add

      public Spoint add(Spoint other)
    • subtract

      public Spoint subtract(Spoint other)
    • toString

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

      public Spoint scale(double byWhat)
    • NormalRight

      public Spoint NormalRight()
    • normalLeft

      public Spoint normalLeft()
    • Normalize

      public Spoint Normalize()
    • Average

      public Spoint Average(Spoint other)
    • Negate

      public Spoint Negate()
    • infiniteLineIntersection

      public static Spoint infiniteLineIntersection(Spoint base1, Spoint v1, Spoint base2, Spoint v2)
    • Polar2Vect

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

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