package Cartesian; import Cartesian.*; /** The VertexList class provides a container for a list of C_Points. * @author John H. Young * @version 1.0.0 */ public class VertexList extends C_Shape { C_Point Vertices []; public VertexList (int Length) { Vertices = new C_Point [Length]; } public void Put (int Selector, C_Point Item) { Vertices [Selector] = Item; } public void Put (int Selector, int ItemX, int ItemY) { C_Point Item; Item = new C_Point (ItemX, ItemY); Vertices [Selector] = Item; } public C_Point Get (int Selector) { return Vertices [Selector]; } public C_Point Point (int Selector) { return Vertices [Selector]; } }