Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Point2D.java 395 B
package object_detection.types;

public class Point2D {

    private float x;
    private float y;
    private int idx;

    public Point2D(float x, float y, int idx){
        this.x = x;
        this.y = y;
        this.idx = idx;
    }

    public float getY() {
        return y;
    }

    public float getX() {
        return x;
    }

    public int getIdx() {
        return idx;
    }
}