All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.metacsp.multi.spatial.blockAlgebra.RectangularCuboid Maven / Gradle / Ivy

There is a newer version: 1.3.5
Show newest version
package org.metacsp.multi.spatial.blockAlgebra;

import org.metacsp.multi.spatial.rectangleAlgebra.Point;

public class RectangularCuboid {
	
	private int length, width, height;
	private Point point;
	public RectangularCuboid(Point point, int lenght, int width, int height) {
		
		this.point = point;
		this.length = lenght;
		this.width = width;
		this.height = height;
	}
	
	public int getHeight() {
		return height;
	}
	public int getLength() {
		return length;
	}
	public int getWidth() {
		return width;
	}
	public Point getPoint() {
		return point;
	}
	
	@Override
	public String toString() {
		return "[" + "x: " + point.getX() + ", " + "y: " + point.getY() + ", " + "z: " + point.getZ() + ", " +
	"lenght: " + length + ", " + ": " + width + ", " + "height: " + height + "]" ;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy