Class EdgeVisualItem

    • Field Detail

      • rotation

        protected org.jogamp.vecmath.AxisAngle4f rotation
      • height

        protected float height
    • Method Detail

      • doUpdateLocation

        protected void doUpdateLocation​(org.jogamp.vecmath.Point3f source,
                                        org.jogamp.vecmath.Point3f target)
      • calculateEndPoints

        protected void calculateEndPoints​(org.jogamp.vecmath.Point3f source,
                                          float sourceRadius,
                                          org.jogamp.vecmath.Point3f target,
                                          float targetRadius)
        First find the points at which the edge will intersect the bounding spheres. The distance between these points will be the edge length.
        Parameters:
        source -
        sourceRadius -
        target -
        targetRadius -
      • updateLocation

        public void updateLocation​(org.jogamp.vecmath.Point3f source,
                                   float sourceRadius,
                                   org.jogamp.vecmath.Point3f target,
                                   float targetRadius)
        Overrides:
        updateLocation in class VisualItem3D