BoundingBoxAttachment function ( float arg0 , float arg1 ) { Array < FloatArray > loc0 = this . polygons ; for ( int loc1 = 0 , loc2 = loc0 . size ; loc1 < loc2 ; loc1 ++ ) if ( containsPoint ( loc0 . get ( loc1 ) , arg0 , arg1 ) ) return boundingBoxes . get ( loc1 ) ; return null ; }
returns the first bounding box attachment that contains the point , or null . when doing many checks , it is usually more efficient to only call this method if #aabbcontainspoint float , float returns true . concode_field_sep float minY concode_elem_sep float minX concode_elem_sep float maxY concode_elem_sep float maxX concode_elem_sep Pool<FloatArray> polygonPool concode_elem_sep Array<BoundingBoxAttachment> boundingBoxes concode_elem_sep Array<FloatArray> polygons concode_field_sep boolean aabbContainsPoint concode_elem_sep float getMaxX concode_elem_sep void update concode_elem_sep float getMaxY concode_elem_sep BoundingBoxAttachment intersectsSegment concode_elem_sep boolean intersectsSegment concode_elem_sep float getWidth concode_elem_sep boolean aabbIntersectsSegment concode_elem_sep float getHeight concode_elem_sep boolean aabbIntersectsSkeleton concode_elem_sep Object newObject concode_elem_sep void aabbCompute concode_elem_sep Array<FloatArray> getPolygons concode_elem_sep float getMinX concode_elem_sep float getMinY concode_elem_sep Array<BoundingBoxAttachment> getBoundingBoxes concode_elem_sep FloatArray getPolygon