Skip to content
Snippets Groups Projects
Commit 5f4976fc authored by Daniel Schramm's avatar Daniel Schramm
Browse files

Feature point position stored as Point3d

parent 9d0e677f
No related branches found
No related tags found
No related merge requests found
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package cz.fidentis.analyst.feature;
import javax.vecmath.Point3d;
/**
*
* @author kubok
*/
public class FeaturePoint {
private final double X;
private final double Y;
private final double Z;
private final Point3d position;
private final FeaturePointType FEATURE_POINT_TYPE;
public FeaturePoint(double x, double y, double z, FeaturePointType featurePointType) {
this.X = x;
this.Y = y;
this.Z = z;
this.position = new Point3d(x, y, z);
this.FEATURE_POINT_TYPE = featurePointType;
}
public Point3d getPosition() {
return position;
}
public double getX() {
return X;
return position.x;
}
public double getY() {
return Y;
return position.y;
}
public double getZ() {
return Z;
return position.z;
}
public FeaturePointType getFeaturePointType() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment