Class DistanceStrategy.DistanceStrategyResult

  • Enclosing class:
    DistanceStrategy

    public static class DistanceStrategy.DistanceStrategyResult
    extends java.lang.Object
    DistanceResult contains basic information about the distance
    result between two sets of geometries. These geometry sets
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()  
      void delete()  
      ProximityModelPtr getA()
      pointer to the ProximityModel containing the geometries for the first frame
      ProximityModelPtr getB()
      pointer to the ProximityModel containing the geometries for the second frame
      static long getCPtr​(DistanceStrategy.DistanceStrategyResult obj)  
      double getDistance()
      distance between frame f1 and frame f1
      FrameCPtr getF1()
      reference to the first frame
      FrameCPtr getF2()
      reference to the second frame
      int getGeoIdxA()
      geometry index to triangle mesh A
      int getGeoIdxB()
      geometry index to triangle mesh B
      long getIdx1()
      index to the first face/triangle that is the closest feature
      long getIdx2()
      index to the second face/triangle that is the closest feature
      Vector3D getP1()
      Closest point on f1 to f2, described in world reference frame
      Vector3D getP2()
      Closest point on f2 to f1, described in world reference frame
      void setA​(ProximityModelPtr value)
      pointer to the ProximityModel containing the geometries for the first frame
      void setB​(ProximityModelPtr value)
      pointer to the ProximityModel containing the geometries for the second frame
      void setDistance​(double value)
      distance between frame f1 and frame f1
      void setF1​(FrameCPtr value)
      reference to the first frame
      void setF2​(FrameCPtr value)
      reference to the second frame
      void setGeoIdxA​(int value)
      geometry index to triangle mesh A
      void setGeoIdxB​(int value)
      geometry index to triangle mesh B
      void setIdx1​(long value)
      index to the first face/triangle that is the closest feature
      void setIdx2​(long value)
      index to the second face/triangle that is the closest feature
      void setP1​(Vector3D value)
      Closest point on f1 to f2, described in world reference frame
      void setP2​(Vector3D value)
      Closest point on f2 to f1, described in world reference frame
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DistanceStrategyResult

        public DistanceStrategyResult​(long cPtr,
                                      boolean cMemoryOwn)
      • DistanceStrategyResult

        public DistanceStrategyResult()
    • Method Detail

      • delete

        public void delete()
      • setF1

        public void setF1​(FrameCPtr value)
        reference to the first frame
      • getF1

        public FrameCPtr getF1()
        reference to the first frame
      • setF2

        public void setF2​(FrameCPtr value)
        reference to the second frame
      • getF2

        public FrameCPtr getF2()
        reference to the second frame
      • setA

        public void setA​(ProximityModelPtr value)
        pointer to the ProximityModel containing the geometries for the first frame
      • getA

        public ProximityModelPtr getA()
        pointer to the ProximityModel containing the geometries for the first frame
      • setB

        public void setB​(ProximityModelPtr value)
        pointer to the ProximityModel containing the geometries for the second frame
      • getB

        public ProximityModelPtr getB()
        pointer to the ProximityModel containing the geometries for the second frame
      • setP1

        public void setP1​(Vector3D value)
        Closest point on f1 to f2, described in world reference frame
      • getP1

        public Vector3D getP1()
        Closest point on f1 to f2, described in world reference frame
      • setP2

        public void setP2​(Vector3D value)
        Closest point on f2 to f1, described in world reference frame
      • getP2

        public Vector3D getP2()
        Closest point on f2 to f1, described in world reference frame
      • setDistance

        public void setDistance​(double value)
        distance between frame f1 and frame f1
      • getDistance

        public double getDistance()
        distance between frame f1 and frame f1
      • setGeoIdxA

        public void setGeoIdxA​(int value)
        geometry index to triangle mesh A
      • getGeoIdxA

        public int getGeoIdxA()
        geometry index to triangle mesh A
      • setGeoIdxB

        public void setGeoIdxB​(int value)
        geometry index to triangle mesh B
      • getGeoIdxB

        public int getGeoIdxB()
        geometry index to triangle mesh B
      • setIdx1

        public void setIdx1​(long value)
        index to the first face/triangle that is the closest feature
      • getIdx1

        public long getIdx1()
        index to the first face/triangle that is the closest feature
      • setIdx2

        public void setIdx2​(long value)
        index to the second face/triangle that is the closest feature
      • getIdx2

        public long getIdx2()
        index to the second face/triangle that is the closest feature
      • clear

        public void clear()
      • toString

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