Rect Obstacle2D
class RectObstacle2D<V : Vector2D<V>?> : Rectangle2D.Double, Obstacle2D<V>
Content copied to clipboard
This class implements a rectangular obstacle, whose sides are parallel to the cartesian axis.
Parameters
<V>
Vector2D type
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun intersect(src1: Rectangle2D, src2: Rectangle2D, dest: Rectangle2D)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setFrameFromCenter(centerX: Double, centerY: Double, cornerX: Double, cornerY: Double)
Content copied to clipboard
Link copied to clipboard
open fun setFrameFromDiagonal(x1: Double, y1: Double, x2: Double, y2: Double)
Content copied to clipboard
Link copied to clipboard