// 
// Decompiled by Procyon v0.6.0
// 

package com.hypixel.hytale.math.shape;

import javax.annotation.Nonnull;
import com.hypixel.hytale.math.vector.Vector2d;

public interface Shape2D
{
    default Box2D getBox(@Nonnull final Vector2d position) {
        return this.getBox(position.getX(), position.getY());
    }
    
    Box2D getBox(final double p0, final double p1);
    
    boolean containsPosition(final Vector2d p0, final Vector2d p1);
    
    boolean containsPosition(final Vector2d p0, final double p1, final double p2);
}
