Automatic generation produced by ISE Eiffel
class EG_VECTOR2D [G -> NUMERIC] General cluster: physics description: "Objects that is a two dimensional vector." create: make Ancestors EG_VECTOR* [G -> NUMERIC] Queries divisible (other: [like Current] EG_VECTOR2D [G]): BOOLEAN exponentiable (other: NUMERIC): BOOLEAN identity alias "+": [like Current] EG_VECTOR2D [G] is_x_y_set: BOOLEAN minus alias "-" alias "−" (other: [like Current] EG_VECTOR2D [G]): [like Current] EG_VECTOR2D [G] one: [like Current] EG_VECTOR2D [G] opposite alias "-" alias "−": [like Current] EG_VECTOR2D [G] plus alias "+" (other: [like Current] EG_VECTOR2D [G]): [like Current] EG_VECTOR2D [G] product alias "*" (other: [like Current] EG_VECTOR2D [G]): [like Current] EG_VECTOR2D [G] quotient alias "/" alias "÷" (other: [like Current] EG_VECTOR2D [G]): [like Current] EG_VECTOR2D [G] scalar_product alias "|*" (other: G): [like Current] EG_VECTOR2D [G] x: G y: G zero: [like Current] EG_VECTOR2D [G] Commands make (ax, ay: G) set (ax, ay: G) -- Generated by Eiffel Studio --
For more details: eiffel.org