indexing description: "Array for 3-dimensional vectors" author: "" date: "$Date$" revision: "$Revision$" deferred class EM_ABSTRACT_VECTOR3_ARRAY[N -> NUMERIC, V -> EM_ABSTRACT_VECTOR3[N] create default_create end] obsolete "Use EM_VECTOR_ARRAY directly" inherit EM_ABSTRACT_VECTOR_ARRAY[N, V] undefine item, put, infix "@" end convert to_c_pointer: {POINTER} feature -- Element change put (v: V; i: INTEGER) is -- Replace `i'-th entry, if in index interval, by `v'. do area.put (v.x, dimension*i ) area.put (v.y, dimension*i + 1) area.put (v.z, dimension*i + 2) end feature {NONE} -- Implementation -- dimension: INTEGER is 3 invariant invariant_clause: True -- Your invariant here end