<?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="quadrangle with antialising"/>
			<pair key="description" value="This object represents a filled quadrangle (box) with antialising. The quadrangle has the given four corner points ( x_1, y_1 ), ( x_2, y_2 ), ( x_3, y_3 ) and ( x_4, y_4 ) as its border points. Where ( x_i, y_i ) is the neighbour point of ( x_{i+1}, y_{i+1} ). The points of the quadrangle are given back as variables of the subobject."/>
			<pair key="inVar1::description" value="position of the first point p_1 in dimension 1 (x_1)"/>
			<pair key="inVar2::description" value="position of the first point p_1 in dimension 2 (y_1)"/>
			<pair key="inVar3::description" value="position of the second point p_2 in dimension 1 (x_2)"/>
			<pair key="inVar4::description" value="position of the second point p_2 in dimension 2 (y_2)"/>
			<pair key="inVar5::description" value="position of the 3. point p_3 in dimension 1 (x_3)"/>
			<pair key="inVar6::description" value="position of the 3. point p_3 in dimension 2 (y_3)"/>
			<pair key="inVar7::description" value="position of the 4. point p_4 in dimension 1 (x_4)"/>
			<pair key="inVar8::description" value="position of the 4. point p_4 in dimension 2 (y_4)"/>
			<pair key="subObj1::description" value="The points of the quadrangle. The subobject is called for every point on the quadrangle."/>
			
			<pair key="subObj1::outVar1::description" value="the position of the quadrangle point in dimension 1 (x)"/>
			<pair key="subObj1::outVar2::description" value="the position of the quadrangle point in dimension 2 (y)"/>
			<pair key="subObj1::outVar3::description" value="the antialising factor (1 is full transparent and 0 full opaque)"/>
			
			<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="isAntialiased" value=""/>
			<pair key="DbObject::isNotAntialiased" value="-46"/>
		</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"/>
			<variable number="7" default="0"/>
			<variable number="8" 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="1">
					<dim count="2">
						<dimension number="1" direction="anywhere"/>
						<dimension number="2" direction="anywhere"/>
					</dim>
				</domainReference>
			</inVar>
			<inVar number="4">
				<domainReference subdomain="2">
					<dim count="2">
						<dimension number="1" direction="anywhere"/>
						<dimension number="2" direction="anywhere"/>
					</dim>
				</domainReference>
			</inVar>
			<inVar number="5">
				<domainReference subdomain="1">
					<dim count="2">
						<dimension number="1" direction="anywhere"/>
						<dimension number="2" direction="anywhere"/>
					</dim>
				</domainReference>
			</inVar>
			<inVar number="6">
				<domainReference subdomain="2">
					<dim count="2">
						<dimension number="1" direction="anywhere"/>
						<dimension number="2" direction="anywhere"/>
					</dim>
				</domainReference>
			</inVar>
			<inVar number="7">
				<domainReference subdomain="1">
					<dim count="2">
						<dimension number="1" direction="anywhere"/>
						<dimension number="2" direction="anywhere"/>
					</dim>
				</domainReference>
			</inVar>
			<inVar number="8">
				<domainReference subdomain="2">
					<dim count="2">
						<dimension number="1" direction="anywhere"/>
						<dimension number="2" direction="anywhere"/>
					</dim>
				</domainReference>
			</inVar>
			<externSubobject number="1">
				<vector elements="3">
					<!--actually any numbers are possible;
						the next lines are just a space holder-->
					<naturalNumberB bit="0" />
					<naturalNumberB bit="0" />
					<naturalNumberB bit="0" />
				</vector>
			</externSubobject>
			<externObject>
				<vector elements="4">
					<integer min="-950" max="1" /><!--Identifier-->
					<integer min="6" max="8" /><!--number input values-->
					<naturalNumber max="1" /><!--number subobjects-->
					<naturalNumber max="3" /><!--number output values-->
				</vector>
			</externObject>
			<externObjectInput identifier="1">
				<vector elements="8">
					<naturalNumber max="0" />
					<naturalNumber max="0" />
					<naturalNumber max="0" />
					<naturalNumber max="0" />
					<naturalNumber max="0" />
					<naturalNumber max="0" />
					<naturalNumber max="0" />
					<naturalNumber max="0" />
				</vector>
			</externObjectInput>
			<externObjectInput identifier="-36">
				<vector elements="6">
					<naturalNumber max="0" />
					<naturalNumber max="0" />
					<naturalNumber max="0" />
					<naturalNumber max="0" />
					<naturalNumber max="0" />
					<naturalNumber max="0" />
				</vector>
			</externObjectInput>
			<externObjectInput identifier="-950">
				<vector elements="8">
					<naturalNumber max="0" />
					<naturalNumber max="0" />
					<naturalNumber max="0" />
					<naturalNumber max="0" />
					<naturalNumber max="0" />
					<naturalNumber max="0" />
					<naturalNumber max="0" />
					<naturalNumber max="0" />
				</vector>
			</externObjectInput>
		</domains>
		<database_identifiers>
			<identifier>-36</identifier>
			<identifier>-475</identifier>
			<identifier>-477</identifier>
			<identifier>-950</identifier>
			<identifier>-951</identifier>
		</database_identifiers>
		<main_fib_object>
			<!-- check if the lines betwean (p_1 and p_2) and (p_3 and p_4) intersect -->
			<obj identifier="-950">
				<vector type="externObjectInput">
					<variable>1</variable>
					<variable>2</variable>
					<variable>3</variable>
					<variable>4</variable>
					<variable>5</variable>
					<variable>6</variable>
					<variable>7</variable>
					<variable>8</variable>
				</vector>
				<subobject>
					<output_variables>
						<variable>9</variable>
						<variable>10</variable>
						<variable>11</variable>
					</output_variables>
					<if><!-- if the lines betwean (p_1 and p_2) and (p_3 and p_4) intersect then draw two trangles ( p_1, p_4, p_i ) and (p_2, p_3, p_i ) (p_i is the intersection point)-->
						<condition>
							<lo>
								<value>0</value>
								<variable>11</variable>
							</lo>
						</condition>
						<!-- draw two trangles ( p_1, p_4, p_i ) and (p_2, p_3, p_i ) (p_i is the intersection point) -->
						<list>
							<obj identifier="-36">
								<vector type="externObjectInput">
									<variable>1</variable>
									<variable>2</variable>
									<variable>7</variable>
									<variable>8</variable>
									<variable>9</variable>
									<variable>10</variable>
								</vector>
								<subobject>
									<output_variables>
										<variable>12</variable>
										<variable>13</variable>
										<variable>14</variable>
									</output_variables>
									<subobject number="1">
										<vector type="externSubobject">
											<variable>12</variable>
											<variable>13</variable>
											<variable>14</variable>
										</vector>
									</subobject>
								</subobject>
							</obj>
							<obj identifier="-36">
								<vector type="externObjectInput">
									<variable>3</variable>
									<variable>4</variable>
									<variable>5</variable>
									<variable>6</variable>
									<variable>9</variable>
									<variable>10</variable>
								</vector>
								<subobject>
									<output_variables>
										<variable>12</variable>
										<variable>13</variable>
										<variable>14</variable>
									</output_variables>
									<subobject number="1">
										<vector type="externSubobject">
											<variable>12</variable>
											<variable>13</variable>
											<variable>14</variable>
										</vector>
									</subobject>
								</subobject>
							</obj>
						</list>
						<!-- else check if the lines betwean (p_1 and p_4) and (p_2 and p_3) intersect -->
						<obj identifier="-950">
							<vector type="externObjectInput">
								<variable>1</variable>
								<variable>2</variable>
								<variable>7</variable>
								<variable>8</variable>
								<variable>3</variable>
								<variable>4</variable>
								<variable>5</variable>
								<variable>6</variable>
							</vector>
							<subobject>
								<output_variables>
									<variable>12</variable>
									<variable>13</variable>
									<variable>14</variable>
								</output_variables>
								<if><!-- if the lines betwean (p_1 and p_4) and (p_2 and p_3) intersect then draw two trangles ( p_1, p_2, p_i ) and (p_3, p_4, p_i ) (p_i is the intersection point)-->
									<condition>
										<lo>
											<value>0</value>
											<variable>14</variable>
										</lo>
									</condition>
									<!-- draw two trangles ( p_1, p_2, p_i ) and (p_3, p_4, p_i ) (p_i is the intersection point) -->
									<list>
										<obj identifier="-36">
											<vector type="externObjectInput">
												<variable>1</variable>
												<variable>2</variable>
												<variable>3</variable>
												<variable>4</variable>
												<variable>12</variable>
												<variable>13</variable>
											</vector>
											<subobject>
												<output_variables>
													<variable>15</variable>
													<variable>16</variable>
													<variable>17</variable>
												</output_variables>
												<subobject number="1">
													<vector type="externSubobject">
														<variable>15</variable>
														<variable>16</variable>
														<variable>17</variable>
													</vector>
												</subobject>
											</subobject>
										</obj>
										<obj identifier="-36">
											<vector type="externObjectInput">
												<variable>5</variable>
												<variable>6</variable>
												<variable>7</variable>
												<variable>8</variable>
												<variable>12</variable>
												<variable>13</variable>
											</vector>
											<subobject>
												<output_variables>
													<variable>15</variable>
													<variable>16</variable>
													<variable>17</variable>
												</output_variables>
												<subobject number="1">
													<vector type="externSubobject">
														<variable>15</variable>
														<variable>16</variable>
														<variable>17</variable>
													</vector>
												</subobject>
											</subobject>
										</obj>
									</list>
									
									<!-- else draw boxes with object of id -475 and id -477 -->
									<!--sort points and call subobject with sorted points;
										The point with the lowest x component is the first
										point. Its neighbour point with the lowest x component
										is the second point. The other neighbour of the first
										point is the third point.-->
									<if><!--if x_1 is lowest (= x_1 =< x_2 and x_1 =< x_3 and x_1 =< x_4
										= not( x_2 < x_1 or x_3 < x_1 or x_4 < x_1) ) -->
										<condition>
											<not>
												<or>
													<gr>
														<variable>1</variable>
														<variable>3</variable>
													</gr>
													<or>
														<gr>
															<variable>1</variable>
															<variable>5</variable>
														</gr>
														<gr>
															<variable>1</variable>
															<variable>7</variable>
														</gr>
													</or>
												</or>
											</not>
										</condition>
										<if><!-- if x_2 < x_4 -->
											<condition>
												<lo>
													<variable>3</variable>
													<variable>7</variable>
												</lo>
											</condition>
											<obj identifier="1">
												<vector type="externObjectInput">
													<variable>1</variable>
													<variable>2</variable>
													<variable>3</variable>
													<variable>4</variable>
													<variable>7</variable>
													<variable>8</variable>
													<variable>5</variable>
													<variable>6</variable>
												</vector>
												<subobject>
													<output_variables>
														<variable>18</variable>
														<variable>19</variable>
														<variable>20</variable>
													</output_variables>
													<subobject number="1">
														<vector type="externSubobject">
															<variable>18</variable>
															<variable>19</variable>
															<variable>20</variable>
														</vector>
													</subobject>
												</subobject>
											</obj>
											<!-- else x_4 =< x_2 -->
											<obj identifier="1">
												<vector type="externObjectInput">
													<variable>1</variable>
													<variable>2</variable>
													<variable>7</variable>
													<variable>8</variable>
													<variable>3</variable>
													<variable>4</variable>
													<variable>5</variable>
													<variable>6</variable>
												</vector>
												<subobject>
													<output_variables>
														<variable>18</variable>
														<variable>19</variable>
														<variable>20</variable>
													</output_variables>
													<subobject number="1">
														<vector type="externSubobject">
															<variable>18</variable>
															<variable>19</variable>
															<variable>20</variable>
														</vector>
													</subobject>
												</subobject>
											</obj>
										</if>
										<!-- else x_1 is not lowest -->
										<if><!-- if x_2 is lowest (= x_2 =< x_3 and x_2 =< x_4) -->
											<condition>
												<not>
													<or>
														<gr>
															<variable>3</variable>
															<variable>5</variable>
														</gr>
														<gr>
															<variable>3</variable>
															<variable>7</variable>
														</gr>
													</or>
												</not>
											</condition>
											<if><!--if x_1 < x_3-->
												<condition>
													<lo>
														<variable>1</variable>
														<variable>5</variable>
													</lo>
												</condition>
												<obj identifier="1">
													<vector type="externObjectInput">
														<variable>3</variable>
														<variable>4</variable>
														<variable>1</variable>
														<variable>2</variable>
														<variable>5</variable>
														<variable>6</variable>
														<variable>7</variable>
														<variable>8</variable>
													</vector>
													<subobject>
														<output_variables>
															<variable>18</variable>
															<variable>19</variable>
															<variable>20</variable>
														</output_variables>
														<subobject number="1">
															<vector type="externSubobject">
																<variable>18</variable>
																<variable>19</variable>
																<variable>20</variable>
															</vector>
														</subobject>
													</subobject>
												</obj>
												<!--else x_3 =< x_1-->
												<obj identifier="1">
													<vector type="externObjectInput">
														<variable>3</variable>
														<variable>4</variable>
														<variable>5</variable>
														<variable>6</variable>
														<variable>1</variable>
														<variable>2</variable>
														<variable>7</variable>
														<variable>8</variable>
													</vector>
													<subobject>
														<output_variables>
															<variable>18</variable>
															<variable>19</variable>
															<variable>20</variable>
														</output_variables>
														<subobject number="1">
															<vector type="externSubobject">
																<variable>18</variable>
																<variable>19</variable>
																<variable>20</variable>
															</vector>
														</subobject>
													</subobject>
												</obj>
											</if>
								
											<!-- else x_1 and x_2 are not lowest -->
											<if><!-- if x_3 is lowest (= x_3 < x_4) -->
												<condition>
													<not>
														<gr>
															<variable>5</variable>
															<variable>7</variable>
														</gr>
													</not>
												</condition>
												<if><!--if x_2 < x_4-->
													<condition>
														<lo>
															<variable>3</variable>
															<variable>7</variable>
														</lo>
													</condition>
													<obj identifier="1">
														<vector type="externObjectInput">
															<variable>5</variable>
															<variable>6</variable>
															<variable>3</variable>
															<variable>4</variable>
															<variable>7</variable>
															<variable>8</variable>
															<variable>1</variable>
															<variable>2</variable>
														</vector>
														<subobject>
															<output_variables>
																<variable>18</variable>
																<variable>19</variable>
																<variable>20</variable>
															</output_variables>
															<subobject number="1">
																<vector type="externSubobject">
																	<variable>18</variable>
																	<variable>19</variable>
																	<variable>20</variable>
																</vector>
															</subobject>
														</subobject>
													</obj>
													<!--else x_4 =< x_2-->
													<obj identifier="1">
														<vector type="externObjectInput">
															<variable>5</variable>
															<variable>6</variable>
															<variable>7</variable>
															<variable>8</variable>
															<variable>3</variable>
															<variable>4</variable>
															<variable>1</variable>
															<variable>2</variable>
														</vector>
														<subobject>
															<output_variables>
																<variable>18</variable>
																<variable>19</variable>
																<variable>20</variable>
															</output_variables>
															<subobject number="1">
																<vector type="externSubobject">
																	<variable>18</variable>
																	<variable>19</variable>
																	<variable>20</variable>
																</vector>
															</subobject>
														</subobject>
													</obj>
												</if>
												<!--else x_1, x_2 and x_4 are not lowest -> x_4 is lowest or equal-->
												<if><!--if x_1 < x_3-->
													<condition>
														<lo>
															<variable>1</variable>
															<variable>5</variable>
														</lo>
													</condition>
													<obj identifier="1">
														<vector type="externObjectInput">
															<variable>7</variable>
															<variable>8</variable>
															<variable>1</variable>
															<variable>2</variable>
															<variable>5</variable>
															<variable>6</variable>
															<variable>3</variable>
															<variable>4</variable>
														</vector>
														<subobject>
															<output_variables>
																<variable>18</variable>
																<variable>19</variable>
																<variable>20</variable>
															</output_variables>
															<subobject number="1">
																<vector type="externSubobject">
																	<variable>18</variable>
																	<variable>19</variable>
																	<variable>20</variable>
																</vector>
															</subobject>
														</subobject>
													</obj>
													<!--else x_3 =< x_1-->
													<obj identifier="1">
														<vector type="externObjectInput">
															<variable>7</variable>
															<variable>8</variable>
															<variable>5</variable>
															<variable>6</variable>
															<variable>1</variable>
															<variable>2</variable>
															<variable>3</variable>
															<variable>4</variable>
														</vector>
														<subobject>
															<output_variables>
																<variable>18</variable>
																<variable>19</variable>
																<variable>20</variable>
															</output_variables>
															<subobject number="1">
																<vector type="externSubobject">
																	<variable>18</variable>
																	<variable>19</variable>
																	<variable>20</variable>
																</vector>
															</subobject>
														</subobject>
													</obj>
												</if>
											</if>
										</if>
									</if><!-- end else draw boxes with object of id -475 -->

								</if>
							</subobject>
						</obj>
					</if>
				</subobject>
			</obj>
		</main_fib_object>
		<sub_roots>
			<sub_root identifier="1">
				<root>
					<optionalpart>
						<pair key="description" value="This object represents a filled quadrangle (box) with antialising. The quadrangle has the given four corner points ( x_1, y_1 ), ( x_2, y_2 ), ( x_3, y_3 ) and ( x_4, y_4 ) as its border points. Where x_1 \lo x_i, x_2 \lo x_3 and ( x_2, y_2 ), ( x_3, y_3 ) are the neighbours of ( x_1, y_1 ). The points of the quadrangle are given back as variables of the subobject."/>
						<pair key="inVar1::description" value="position of the first point p_1 in dimension 1 (x_1), with x_1 \le x_i"/>
						<pair key="inVar2::description" value="position of the first point p_1 in dimension 2 (y_1)"/>
						<pair key="inVar3::description" value="position of the second point p_2 in dimension 1 (x_2), with x_2 \le x_3"/>
						<pair key="inVar4::description" value="position of the second point p_2 in dimension 2 (y_2)"/>
						<pair key="inVar5::description" value="position of the 3. point p_3 in dimension 1 (x_3)"/>
						<pair key="inVar6::description" value="position of the 3. point p_3 in dimension 2 (y_3)"/>
						<pair key="inVar7::description" value="position of the 4. point p_4 in dimension 1 (x_4)"/>
						<pair key="inVar8::description" value="position of the 4. point p_4 in dimension 2 (y_4)"/>
						<pair key="subObj1::outVar1::description" value="the position of the line point in dimension 1 (x)"/>
						<pair key="subObj1::outVar2::description" value="the position of the line point in dimension 2 (y)"/>
						<pair key="subObj1::outVar3::description" value="the antialising factor (1 is full transparent and 0 full opaque)"/>
					</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"/>
						<variable number="7" default="0"/>
						<variable number="8" 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="1">
								<dim count="2">
									<dimension number="1" direction="anywhere"/>
									<dimension number="2" direction="anywhere"/>
								</dim>
							</domainReference>
						</inVar>
						<inVar number="4">
							<domainReference subdomain="2">
								<dim count="2">
									<dimension number="1" direction="anywhere"/>
									<dimension number="2" direction="anywhere"/>
								</dim>
							</domainReference>
						</inVar>
						<inVar number="5">
							<domainReference subdomain="1">
								<dim count="2">
									<dimension number="1" direction="anywhere"/>
									<dimension number="2" direction="anywhere"/>
								</dim>
							</domainReference>
						</inVar>
						<inVar number="6">
							<domainReference subdomain="2">
								<dim count="2">
									<dimension number="1" direction="anywhere"/>
									<dimension number="2" direction="anywhere"/>
								</dim>
							</domainReference>
						</inVar>
						<inVar number="7">
							<domainReference subdomain="1">
								<dim count="2">
									<dimension number="1" direction="anywhere"/>
									<dimension number="2" direction="anywhere"/>
								</dim>
							</domainReference>
						</inVar>
						<inVar number="8">
							<domainReference subdomain="2">
								<dim count="2">
									<dimension number="1" direction="anywhere"/>
									<dimension number="2" direction="anywhere"/>
								</dim>
							</domainReference>
						</inVar>
						<externSubobject number="1">
							<vector elements="3">
								<!--actually any numbers are possible;
									the next lines are just a space holder-->
								<naturalNumberB bit="0" />
								<naturalNumberB bit="0" />
								<naturalNumberB bit="0" />
							</vector>
						</externSubobject>
						<externObject>
							<vector elements="4">
								<integer min="-951" max="-475" /><!--Identifier-->
								<integer min="8" max="10" /><!--number input values-->
								<naturalNumber max="1" /><!--number subobjects-->
								<naturalNumber max="3" /><!--number output values-->
							</vector>
						</externObject>
						<externObjectInput identifier="-475">
							<vector elements="8">
								<naturalNumber max="0" />
								<naturalNumber max="0" />
								<naturalNumber max="0" />
								<naturalNumber max="0" />
								<naturalNumber max="0" />
								<naturalNumber max="0" />
								<naturalNumber max="0" />
								<naturalNumber max="0" />
							</vector>
						</externObjectInput>
						<externObjectInput identifier="-477">
							<vector elements="10">
								<naturalNumber max="0" />
								<naturalNumber max="0" />
								<naturalNumber max="0" />
								<naturalNumber max="0" />
								<naturalNumber max="0" />
								<naturalNumber max="0" />
								<naturalNumber max="0" />
								<naturalNumber max="0" />
								<naturalNumber max="0" />
								<naturalNumber max="0" />
							</vector>
						</externObjectInput>
						<externObjectInput identifier="-951">
							<vector elements="8">
								<naturalNumber max="0" />
								<naturalNumber max="0" />
								<naturalNumber max="0" />
								<naturalNumber max="0" />
								<naturalNumber max="0" />
								<naturalNumber max="0" />
								<naturalNumber max="0" />
								<naturalNumber max="0" />
							</vector>
						</externObjectInput>
					</domains>
					<main_fib_object>
						<!-- fill areas betwean lines:
							- (p_1, p_2) and (p_1, p_3) if (x_4 < x_2) and
									if ( p_4 is betwean points (p_1, p_2, p_3) ) then till min( x_2, x_4 )
							- if (x_4 < x_2) then (p_1, p_2) and (p_2, p_4) ->
									if ( p_3 is betwean points (p_1, p_2, p_4) ) then till max( x_3, x_4 )
							- if (x_4 < x_3) then (p_1, p_3) and (p_3, p_4)
									if ( p_2 is betwean points (p_1, p_3, p_4) ) then till max( x_2, x_4 )
							- if (x_3 < x_4) then (p_2, p_4) and (p_4, p_3)
								- else (x_4 <= x_3) then (p_2, p_4) and (p_4, p_3) if y_4 is not betwean points p_1, p_2 and p_3
							- if ( x_2 < x_4 ) then (p_1, p_3) and (p_2, p_4)
						( not for this object x_1 <= x_2 <= x_3 and x_1 <= x_4)
						-->
						<list>
							<!-- (p_1, p_2) and (p_1, p_3) if (x_4 < x_2) and
									if ( p_4 is betwean points (p_1, p_2, p_3) ) then till min( x_2, x_4 ) -->
							<if><!-- if x_4 < x_2 -->
								<condition>
									<lo>
										<variable>7</variable>
										<variable>3</variable>
									</lo>
								</condition>
								<obj identifier="-951"><!-- check if p_4 is betwean points (p_1, p_2, p_3) -->
									<vector type="externObjectInput">
										<variable>7</variable>
										<variable>8</variable>
										<variable>1</variable>
										<variable>2</variable>
										<variable>3</variable>
										<variable>4</variable>
										<variable>5</variable>
										<variable>6</variable>
									</vector>
									<subobject>
										<output_variables>
											<variable>9</variable>
										</output_variables>
										<if><!-- if p_4 is betwean points (p_1, p_2, p_3)  -->
											<condition>
												<lo>
													<value>0</value>
													<variable>9</variable>
												</lo>
											</condition>
											<function define_variable="10"><!-- evalue min( x_2, x_4 ) -->
												<subfunction>
													<min>
														<variable>3</variable>
														<variable>7</variable>
													</min>
												</subfunction>
												<obj identifier="-477"><!-- (p_1, p_2) and (p_1, p_3) till min( x_2, x_4 )  -->
													<vector type="externObjectInput">
														<variable>1</variable>
														<variable>2</variable>
														<variable>3</variable>
														<variable>4</variable>
														<variable>1</variable>
														<variable>2</variable>
														<variable>5</variable>
														<variable>6</variable>
														<variable>1</variable>
														<variable>10</variable>
													</vector>
													<subobject>
														<output_variables>
															<variable>11</variable>
															<variable>12</variable>
															<variable>13</variable>
														</output_variables>
														<subobject number="1">
															<vector type="externSubobject">
																<variable>11</variable>
																<variable>12</variable>
																<variable>13</variable>
															</vector>
														</subobject>
													</subobject>
												</obj>
											</function>
											<!-- else fill area betwean (p_1, p_2) and (p_1, p_3) -->
											<obj identifier="-475"><!-- (p_1, p_2) and (p_1, p_4) -->
												<vector type="externObjectInput">
													<variable>1</variable>
													<variable>2</variable>
													<variable>3</variable>
													<variable>4</variable>
													<variable>1</variable>
													<variable>2</variable>
													<variable>5</variable>
													<variable>6</variable>
												</vector>
												<subobject>
													<output_variables>
														<variable>10</variable>
														<variable>11</variable>
														<variable>12</variable>
													</output_variables>
													<subobject number="1">
														<vector type="externSubobject">
															<variable>10</variable>
															<variable>11</variable>
															<variable>12</variable>
														</vector>
													</subobject>
												</subobject>
											</obj>
										</if>
									</subobject>
								</obj>
								<!-- else fill area betwean (p_1, p_2) and (p_1, p_3) -->
								<obj identifier="-475"><!-- (p_1, p_2) and (p_1, p_4) -->
									<vector type="externObjectInput">
										<variable>1</variable>
										<variable>2</variable>
										<variable>3</variable>
										<variable>4</variable>
										<variable>1</variable>
										<variable>2</variable>
										<variable>5</variable>
										<variable>6</variable>
									</vector>
									<subobject>
										<output_variables>
											<variable>9</variable>
											<variable>10</variable>
											<variable>11</variable>
										</output_variables>
										<subobject number="1">
											<vector type="externSubobject">
												<variable>9</variable>
												<variable>10</variable>
												<variable>11</variable>
											</vector>
										</subobject>
									</subobject>
								</obj>
							</if>
							<!-- if (x_4 < x_2) then (p_1, p_2) and (p_2, p_4) ->
									if ( p_3 is betwean points (p_1, p_2, p_4) ) then till max( x_3, x_4 ) -->
							<if>
								<condition>
									<lo>
										<variable>7</variable>
										<variable>3</variable>
									</lo>
								</condition>
								<obj identifier="-951"><!-- check if p_3 is betwean points (p_1, p_2, p_4) -->
									<vector type="externObjectInput">
										<variable>5</variable>
										<variable>6</variable>
										<variable>1</variable>
										<variable>2</variable>
										<variable>3</variable>
										<variable>4</variable>
										<variable>7</variable>
										<variable>8</variable>
									</vector>
									<subobject>
										<output_variables>
											<variable>9</variable>
										</output_variables>
										<if><!-- if p_3 is betwean points (p_1, p_2, p_4) -->
											<condition>
												<lo>
													<value>0</value>
													<variable>9</variable>
												</lo>
											</condition>
											<function define_variable="10"><!-- evalue max( x_3, x_4 ) -->
												<subfunction>
													<max>
														<variable>5</variable>
														<variable>7</variable>
													</max>
												</subfunction>
												<obj identifier="-477"><!-- (p_1, p_2) and (p_2, p_4) till max( x_3, x_4 ) -->
													<vector type="externObjectInput">
														<variable>1</variable>
														<variable>2</variable>
														<variable>3</variable>
														<variable>4</variable>
														<variable>3</variable>
														<variable>4</variable>
														<variable>7</variable>
														<variable>8</variable>
														<variable>10</variable>
														<variable>3</variable>
													</vector>
													<subobject>
														<output_variables>
															<variable>11</variable>
															<variable>12</variable>
															<variable>13</variable>
														</output_variables>
														<subobject number="1">
															<vector type="externSubobject">
																<variable>11</variable>
																<variable>12</variable>
																<variable>13</variable>
															</vector>
														</subobject>
													</subobject>
												</obj>
											</function>
											<!-- else fill area betwean (p_1, p_2) and (p_2, p_4)
												if p_4 is betwean p_1, p_2, p_3 -->
											<obj identifier="-951"><!-- check if p_4 is betwean p_1, p_2, p_3 -->
												<vector type="externObjectInput">
													<variable>7</variable>
													<variable>8</variable>
													<variable>1</variable>
													<variable>2</variable>
													<variable>3</variable>
													<variable>4</variable>
													<variable>5</variable>
													<variable>6</variable>
												</vector>
												<subobject>
													<output_variables>
														<variable>10</variable>
													</output_variables>
													<if><!-- if p_4 is betwean p_1, p_2, p_3 -->
														<condition>
															<lo>
																<value>0</value>
																<variable>10</variable>
															</lo>
														</condition>
														<obj identifier="-475"><!-- (p_1, p_2) and (p_2, p_4) -->
															<vector type="externObjectInput">
																<variable>1</variable>
																<variable>2</variable>
																<variable>3</variable>
																<variable>4</variable>
																<variable>3</variable>
																<variable>4</variable>
																<variable>7</variable>
																<variable>8</variable>
															</vector>
															<subobject>
																<output_variables>
																	<variable>11</variable>
																	<variable>12</variable>
																	<variable>13</variable>
																</output_variables>
																<subobject number="1">
																	<vector type="externSubobject">
																		<variable>11</variable>
																		<variable>12</variable>
																		<variable>13</variable>
																	</vector>
																</subobject>
															</subobject>
														</obj>
														<!-- else if p_4 is not betwean p_1, p_2, p_3 -> do nothing -->
														<point/>
													</if>
												</subobject>
											</obj>
										</if>
									</subobject>
								</obj>
								<!-- else do nothing -->
								<point/>
							</if>
							<!-- if (x_4 < x_3) then (p_1, p_3) and (p_3, p_4)
									if ( p_2 is betwean points (p_1, p_3, p_4) ) then till max( x_2, x_4 ) -->
							<if><!-- if (x_4 < x_3) -->
								<condition>
									<lo>
										<variable>7</variable>
										<variable>5</variable>
									</lo>
								</condition>
								<obj identifier="-951"><!-- check if p_2 is betwean points (p_1, p_3, p_4) -->
									<vector type="externObjectInput">
										<variable>3</variable>
										<variable>4</variable>
										<variable>1</variable>
										<variable>2</variable>
										<variable>5</variable>
										<variable>6</variable>
										<variable>7</variable>
										<variable>8</variable>
									</vector>
									<subobject>
										<output_variables>
											<variable>9</variable>
										</output_variables>
										<if><!-- if p_2 is betwean points (p_1, p_3, p_4) -->
											<condition>
												<lo>
													<value>0</value>
													<variable>9</variable>
												</lo>
											</condition>
											<function define_variable="10"><!-- evalue max( x_2, x_4 ) -->
												<subfunction>
													<max>
														<variable>3</variable>
														<variable>7</variable>
													</max>
												</subfunction>
												<obj identifier="-477"><!-- (p_1, p_3) and (p_3, p_4) till max( x_2, x_4 )  -->
													<vector type="externObjectInput">
														<variable>1</variable>
														<variable>2</variable>
														<variable>5</variable>
														<variable>6</variable>
														<variable>5</variable>
														<variable>6</variable>
														<variable>7</variable>
														<variable>8</variable>
														<variable>10</variable>
														<variable>5</variable>
													</vector>
													<subobject>
														<output_variables>
															<variable>11</variable>
															<variable>12</variable>
															<variable>13</variable>
														</output_variables>
														<subobject number="1">
															<vector type="externSubobject">
																<variable>11</variable>
																<variable>12</variable>
																<variable>13</variable>
															</vector>
														</subobject>
													</subobject>
												</obj>
											</function>
											<!-- else fill area betwean (p_1, p_3) and (p_3, p_4) -->
											<obj identifier="-475"><!-- (p_1, p_3) and (p_3, p_4) -->
												<vector type="externObjectInput">
													<variable>1</variable>
													<variable>2</variable>
													<variable>5</variable>
													<variable>6</variable>
													<variable>5</variable>
													<variable>6</variable>
													<variable>7</variable>
													<variable>8</variable>
												</vector>
												<subobject>
													<output_variables>
														<variable>11</variable>
														<variable>12</variable>
														<variable>13</variable>
													</output_variables>
													<subobject number="1">
														<vector type="externSubobject">
															<variable>11</variable>
															<variable>12</variable>
															<variable>13</variable>
														</vector>
													</subobject>
												</subobject>
											</obj>
										</if>
									</subobject>
								</obj>
								<!-- else do nothing -->
								<point/>
							</if>
							<!-- if (x_3 < x_4) then (p_2, p_4) and (p_4, p_3)
								else if (x_4 <= x_3) then (p_2, p_4) and (p_4, p_3) if y_4 is not betwean points p_1, p_2 and p_3 -->
							<if>
								<condition>
									<lo>
										<variable>5</variable>
										<variable>7</variable>
									</lo>
								</condition>
								<obj identifier="-475"><!-- (p_2, p_4) and (p_4, p_3) -->
									<vector type="externObjectInput">
										<variable>3</variable>
										<variable>4</variable>
										<variable>7</variable>
										<variable>8</variable>
										<variable>7</variable>
										<variable>8</variable>
										<variable>5</variable>
										<variable>6</variable>
									</vector>
									<subobject>
										<output_variables>
											<variable>9</variable>
											<variable>10</variable>
											<variable>11</variable>
										</output_variables>
										<subobject number="1">
											<vector type="externSubobject">
												<variable>9</variable>
												<variable>10</variable>
												<variable>11</variable>
											</vector>
										</subobject>
									</subobject>
								</obj>
								<!-- else if (x_4 <= x_3) then (p_2, p_4) and (p_4, p_3) if y_4 is not betwean points p_1, p_2 and p_3 -->
								<obj identifier="-951"><!-- check if y_4 is not betwean points p_1, p_2 and p_3 -->
									<vector type="externObjectInput">
										<variable>7</variable>
										<variable>8</variable>
										<variable>1</variable>
										<variable>2</variable>
										<variable>3</variable>
										<variable>4</variable>
										<variable>5</variable>
										<variable>6</variable>
									</vector>
									<subobject>
										<output_variables>
											<variable>9</variable>
										</output_variables>
										<if><!-- if p_2 is betwean points (p_1, p_3, p_4) -->
											<condition>
												<lo>
													<variable>9</variable>
													<value>1</value>
												</lo>
											</condition>
											<!-- else fill area betwean (p_2, p_4) and (p_4, p_3) -->
											<obj identifier="-475"><!-- (p_2, p_4) and (p_4, p_3) -->
												<vector type="externObjectInput">
													<variable>3</variable>
													<variable>4</variable>
													<variable>7</variable>
													<variable>8</variable>
													<variable>7</variable>
													<variable>8</variable>
													<variable>5</variable>
													<variable>6</variable>
												</vector>
												<subobject>
													<output_variables>
														<variable>10</variable>
														<variable>11</variable>
														<variable>12</variable>
													</output_variables>
													<subobject number="1">
														<vector type="externSubobject">
															<variable>10</variable>
															<variable>11</variable>
															<variable>12</variable>
														</vector>
													</subobject>
												</subobject>
											</obj>
											<!-- else do nothing -->
											<point/>
										</if>
									</subobject>
								</obj>
							</if>
							<!-- if ( x_2 < x_4 ) then (p_1, p_3) and (p_2, p_4) -->
							<if>
								<condition>
									<lo>
										<variable>3</variable>
										<variable>7</variable>
									</lo>
								</condition>
								<obj identifier="-475"><!-- (p_1, p_3) and (p_2, p_4) -->
									<vector type="externObjectInput">
										<variable>1</variable>
										<variable>2</variable>
										<variable>5</variable>
										<variable>6</variable>
										<variable>3</variable>
										<variable>4</variable>
										<variable>7</variable>
										<variable>8</variable>
									</vector>
									<subobject>
										<output_variables>
											<variable>9</variable>
											<variable>10</variable>
											<variable>11</variable>
										</output_variables>
										<subobject number="1">
											<vector type="externSubobject">
												<variable>9</variable>
												<variable>10</variable>
												<variable>11</variable>
											</vector>
										</subobject>
									</subobject>
								</obj>
								<!-- else do nothing -->
								<point/>
							</if>
						</list>
					</main_fib_object>
				</root>
			</sub_root>
		</sub_roots>
	</root>
</fib_object>