<!-- This file is to illustrate the use of the element polygon and constraint polygon_by_vertices.
     It still has not been run on any DGS, so it may contain bugs. -->
<construction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xml/intergeo.xsd">
	<elements>
		<point id="A">
			<homogeneous_coordinates>
				<double>0.0</double>
				<double>0.0</double>
				<double>1.0</double>
			</homogeneous_coordinates>
		</point>
		<point id="B">
			<homogeneous_coordinates>
				<double>0.0</double>
				<double>1.0</double>
				<double>1.0</double>
			</homogeneous_coordinates>
		</point>
		<point id="C">
			<homogeneous_coordinates>
				<double>1.0</double>
				<double>1.0</double>
				<double>1.0</double>
			</homogeneous_coordinates>
		</point>
		<polygon id="p">
			<list_of_vertices_coordinates>
				<homogeneous_coordinates>
					<double>0</double>
					<double>0</double>
					<double>1</double>
				</homogeneous_coordinates>
				<homogeneous_coordinates>
					<double>0</double>
					<double>1</double>
					<double>1</double>
				</homogeneous_coordinates>
				<homogeneous_coordinates>
					<double>1</double>
					<double>1</double>
					<double>1</double>
				</homogeneous_coordinates>
			</list_of_vertices_coordinates>
		</polygon>
	</elements>
	<constraints>
		<free_point>
			<point out="true">A</point>
		</free_point>
		<free_point>
			<point out="true">B</point>
		</free_point>
		<free_point>
			<point out="true">C</point>
		</free_point>
		<polygon_by_vertices>
			<polygon out="true">p</polygon>
			<list_of_vertices>
				<point>A</point>
				<point>B</point>
				<point>C</point>
			</list_of_vertices>
		</polygon_by_vertices>
	</constraints>
</construction>
