Began implimenting scan graph

This commit is contained in:
Quinn
2023-11-22 18:44:34 -05:00
parent 7dc679371a
commit b505524fe1
23 changed files with 258 additions and 14 deletions

View File

@@ -0,0 +1,36 @@
package ScanGraph;
import Graph.Vertex;
import Vector.Vector;
import java.util.ArrayList;
public class ScanPoint extends Vertex{
private Vector position;
private Vector orientation;
private ArrayList<Vector> scan;
ScanPoint(Vector scanPosition, Vector orientation, ArrayList<Vector> 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 Vector getOrientation(){
return this.orientation;
}
public ArrayList<Vector> getScan(){
return this.scan;
}
}