package de.grogra.c4d;

import de.grogra.xl.query.AttributeListPattern;

public class Box extends XLObject
{
	public static class Pattern extends AttributeListPattern
	{
		public Pattern()
		{
			super(null, 1);
		}

		public static void signature (@In @Out Box n, double a)
		{
		}

		@Override
		protected double getDouble(Object o, int index)
		{
			return ((Box) o).getLength();
		}
	}

	public Box(double len)
	{
		this(len, 10);
	}

	public Box(double len, double rad)
	{
		super("Cube", len, rad);
	}
}
