← All compilation units

Flyology_TUI.Geometry

Description

Contains

function Contains (Item : Rectangle; Value : Point) return Boolean

Test a signed point without overflowing at either Integer boundary.

Parameters
Item
Value
Return value

Contains

function Contains
  (Item : Rectangle;
   X, Y : Integer) return Boolean
Parameters
Item
X
Y
Return value

Point

type Point is record
   X : Integer := 0;
   Y : Integer := 0;
end record;
Record fields
X
Y

Rectangle

type Rectangle is record
   X      : Integer := 0;
   Y      : Integer := 0;
   Width  : Natural := 0;
   Height : Natural := 0;
end record;
Record fields
X
Y
Width
Height