Class TerrainLineIntersector

    • Constructor Detail

      • TerrainLineIntersector

        public TerrainLineIntersector​(Terrain terrain,
                                      int numThreads)
        Consruct an terrain intersector.
        Parameters:
        terrain - the terrain to use to determine terrain geometry.
        numThreads - the number of threads to use.
    • Method Detail

      • doPerformIntersection

        protected void doPerformIntersection​(Position position)
                                      throws java.lang.InterruptedException
        Description copied from class: LineIntersector
        Called to execute an intersection test for one position.
        Specified by:
        doPerformIntersection in class LineIntersector
        Parameters:
        position - the position to test.
        Throws:
        java.lang.InterruptedException - if the operation is interrupted.s