You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
414 B
23 lines
414 B
package com.iflytop.gd.system.models;
|
|
|
|
|
|
import lombok.Getter;
|
|
|
|
@Getter
|
|
public class Point3D {
|
|
private final Integer x;
|
|
private final Integer y;
|
|
private final Integer z;
|
|
|
|
public Point3D(Integer x, Integer y, Integer z) {
|
|
this.x = x;
|
|
this.y = y;
|
|
this.z = z;
|
|
}
|
|
|
|
public Point3D(Integer x, Integer y) {
|
|
this.x = x;
|
|
this.y = y;
|
|
this.z = 0;
|
|
}
|
|
}
|