<?xml version="1.0" encoding="UTF-8"?>
<fib_object
			xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance"
			xmlns="http://www.fib-development.org/"
			xsd:schemaLocation="http://www.fib-development.org/fib.xsd">
	<root>
		<multimedia_info fib_version="3" db_version="2"/>
		<optionalpart>
			<pair key="name" value="tile"/>
			<pair key="description" value="This object represents a tile. In the second dimension it goes from y_s to y_e. In the first dimension the area is filled between x_s and the line x_e = f( y ) = a_0 + a_1 * y + a_2 * y^2 (wher y goes from y_s to y_e). The points of the triangle are given back as variables of the subobject."/>
			<pair key="inVar1::description" value="position start point dimension 1 (x_s)"/>
			<pair key="inVar2::description" value="position start point dimension 2 (y_s)"/>
			<pair key="inVar3::description" value="position end point dimension 2 (y_e)"/>
			<pair key="inVar4::description" value="parameter a_0 of the line function f"/>
			<pair key="inVar5::description" value="parameter a_1 of the line function f"/>
			<pair key="inVar6::description" value="parameter a_2 of the line function f"/>
			
			<pair key="subObj1::description" value="The points of the tile. The subobject is called for every point on the tile."/>
			<pair key="subObj1::outVar1::description" value="the position of the tile point in dimension 1 (x)"/>
			<pair key="subObj1::outVar2::description" value="the position of the tile point in dimension 2 (y)"/>
			
			<pair key="author" value="Betti Oesterholz"/>
			<pair key="author::email" value="Oesterholz@Fib-Development.org"/>
			<pair key="copyright" value="LGPL3"/>
			
			<pair key="isPointSubObject" value=""/>
			<pair key="DbObject::isPointElement" value="-71"/>
			<pair key="isNotAntialiased" value=""/>
			<pair key="DbObject::isAntialiased" value="-81"/>
		</optionalpart>
		<input_variables>
			<variable number="1" default="0"/>
			<variable number="2" default="0"/>
			<variable number="3" default="0"/>
			<variable number="4" default="0"/>
			<variable number="5" default="0"/>
			<variable number="6" default="0"/>
		</input_variables>
		<domains>
			<inVar number="1">
				<domainReference subdomain="1">
					<dim count="2">
						<dimension number="1" direction="anywhere"/>
						<dimension number="2" direction="anywhere"/>
					</dim>
				</domainReference>
			</inVar>
			<inVar number="2">
				<domainReference subdomain="2">
					<dim count="2">
						<dimension number="1" direction="anywhere"/>
						<dimension number="2" direction="anywhere"/>
					</dim>
				</domainReference>
			</inVar>
			<inVar number="3">
				<domainReference subdomain="2">
					<dim count="2">
						<dimension number="1" direction="anywhere"/>
						<dimension number="2" direction="anywhere"/>
					</dim>
				</domainReference>
			</inVar>
			<externSubobject number="1">
				<vector elements="2">
					<!--actually any numbers are possible;
						the next two lines are just a space holder-->
					<naturalNumberB bit="0" />
					<naturalNumberB bit="0" />
				</vector>
			</externSubobject>
			<subfunction>
				<naturalNumber max="2" />
			</subfunction>
		</domains>
		<main_fib_object>
			<area define_variable="7">
				<vector type="subarea">
					<variable>2</variable>
					<variable>3</variable>
				</vector>
				<function define_variable="8">
					<!--f( y ) = a_0 + a_1 * y + a_2 * y^2 -->
					<subfunction>
						<add>
							<variable>4</variable>
							<add>
								<mult>
									<variable>5</variable>
									<variable>7</variable>
								</mult>
								<mult>
									<variable>6</variable>
									<exp>
										<variable>7</variable>
										<value>2</value>
									</exp>
								</mult>
							</add>
						</add>
					</subfunction>
					<area define_variable="9">
						<vector type="subarea">
							<variable>1</variable>
							<variable>8</variable>
						</vector>
						<subobject number="1">
							<vector type="externSubobject">
								<variable>9</variable>
								<variable>7</variable>
							</vector>
						</subobject>
					</area>
				</function>
			</area>
		</main_fib_object>
	</root>
</fib_object>