001package fr.aumgn.dac2.shape; 002 003import fr.aumgn.bukkitutils.geom.Vector2D; 004import fr.aumgn.dac2.shape.column.Column; 005 006/** 007 * Represents a flat shape and defines specific methods. 008 */ 009public interface FlatShape extends Shape, Iterable<Column> { 010 011 double getMinY(); 012 013 double getMaxY(); 014 015 Vector2D getMin2D(); 016 017 Vector2D getMax2D(); 018 019 boolean contains2D(Vector2D pt); 020 021 Column getColumn(Vector2D pt); 022}