package ScanGraph; import Graph.Vertex; import Vector.Vector; import java.util.ArrayList; public class ScanPoint extends Vertex{ private Vector position; private float orientation; private ArrayList scan; public ScanPoint(Vector scanPosition, float orientation, ArrayList scan) { super(); this.position = scanPosition; this.orientation = orientation; this.scan = scan; } /** * @return a two eleement float array containing the x and y coordinates of the vertex respectively. */ public Vector getPos(){ return position; } public float getOrientation(){ return this.orientation; } public ArrayList getPoints(){ return this.scan; } }