Class ProximityStrategyData


  • public class ProximityStrategyData
    extends java.lang.Object
    • Constructor Detail

      • ProximityStrategyData

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

        public ProximityStrategyData()
        Create Empty ProximityStrategyData
    • Method Detail

      • delete

        public void delete()
      • getCache

        public ProximityCachePtr getCache()
        Get the underlying cache
        Returns:
        pointer to cache
      • getCollisionData

        public CollisionResult getCollisionData()
        get the result from the collision check
        Returns:
        Result of Collision strategy if available
      • inCollision

        public SWIGTYPE_p_bool inCollision()
        was collision check in collision
        Returns:
        true if in collision
      • setCollisionQueryType

        public void setCollisionQueryType​(CollisionStrategy.QueryType qtype)
        set the Collision Query type
        Parameters:
        qtype - [in] the used Query type
      • getCollisionQueryType

        public CollisionStrategy.QueryType getCollisionQueryType()
        Get the used Collision Query type
        Returns:
        Querytype
      • getMultiDistanceTolerance

        public double getMultiDistanceTolerance()
        get the tolerance used to treshold which distances are recorded and which are not.
        point pairs that are closer than tolerance will be included in the
        result.
        Returns:
        The set tolerance
      • setMultiDistanceTolerance

        public void setMultiDistanceTolerance​(double tolerance)
        set the tolerance used to treshold which distances are recorded and which are not.
        point pairs that are closer than tolerance will be included in the
        result.
        Parameters:
        tolerance - [in] set the stored tolerance
      • setRel_err

        public void setRel_err​(double value)
        relative acceptable error
      • getRel_err

        public double getRel_err()
        relative acceptable error
      • setAbs_err

        public void setAbs_err​(double value)
        absolute acceptable error
      • getAbs_err

        public double getAbs_err()
        absolute acceptable error