Class PickSegment

    • Constructor Summary

      Constructors 
      Constructor Description
      PickSegment()
      Constructs an empty PickSegment.
      PickSegment​(javax.vecmath.Point3d start, javax.vecmath.Point3d end)
      Constructs a line segment pick shape from the specified parameters.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void get​(javax.vecmath.Point3d start, javax.vecmath.Point3d end)
      Gets the parameters from this PickSegment.
      void set​(javax.vecmath.Point3d start, javax.vecmath.Point3d end)
      Sets the parameters of this PickSegment to the specified values.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PickSegment

        public PickSegment()
        Constructs an empty PickSegment. The start and end points of the line segment are initialized to (0,0,0).
      • PickSegment

        public PickSegment​(javax.vecmath.Point3d start,
                           javax.vecmath.Point3d end)
        Constructs a line segment pick shape from the specified parameters.
        Parameters:
        start - the start point of the line segment.
        end - the end point of the line segment.
    • Method Detail

      • set

        public void set​(javax.vecmath.Point3d start,
                        javax.vecmath.Point3d end)
        Sets the parameters of this PickSegment to the specified values.
        Parameters:
        start - the start point of the line segment.
        end - the end point of the line segment.
      • get

        public void get​(javax.vecmath.Point3d start,
                        javax.vecmath.Point3d end)
        Gets the parameters from this PickSegment.
        Parameters:
        start - the Point3d object into which the start point will be copied.
        end - the Point3d object into which the end point will be copied.