<!-- This file is to illustrate the use of the constraint symmetry_by_line.
     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="L1">
			<homogeneous_coordinates>
				<double>0.0</double>
				<double>-5.0</double>
				<double>1.0</double>
			</homogeneous_coordinates>
		</point>
		<point id="L2">
			<homogeneous_coordinates>
				<double>0.0</double>
				<double>5.0</double>
				<double>1.0</double>
			</homogeneous_coordinates>
		</point>
		<line id="l">
			<homogeneous_coordinates>
				<double>1.0</double>
				<double>0.0</double>
				<double>0.0</double>
			</homogeneous_coordinates>
		</line>
		<point id="P">
			<homogeneous_coordinates>
				<double>2.0</double>
				<double>1.0</double>
				<double>1.0</double>
			</homogeneous_coordinates>
		</point>
		<point id="P2">
			<homogeneous_coordinates>
				<double>-2.0</double>
				<double>1.0</double>
				<double>1.0</double>
			</homogeneous_coordinates>
		</point>
		<point id="Q">
			<homogeneous_coordinates>
				<double>3.0</double>
				<double>4.0</double>
				<double>1.0</double>
			</homogeneous_coordinates>
		</point>
		<point id="Q2">
			<homogeneous_coordinates>
				<double>-3.0</double>
				<double>4.0</double>
				<double>1.0</double>
			</homogeneous_coordinates>
		</point>
		<line_segment id="s">
			<homogeneous_coordinates>
				<double>2.0</double>
				<double>1.0</double>
				<double>1.0</double>
			</homogeneous_coordinates>
			<homogeneous_coordinates>
				<double>3.0</double>
				<double>4.0</double>
				<double>1.0</double>
			</homogeneous_coordinates>
		</line_segment>
		<line_segment id="s2">
			<homogeneous_coordinates>
				<double>-2.0</double>
				<double>1.0</double>
				<double>1.0</double>
			</homogeneous_coordinates>
			<homogeneous_coordinates>
				<double>-3.0</double>
				<double>4.0</double>
				<double>1.0</double>
			</homogeneous_coordinates>
		</line_segment>
	</elements>
	<constraints>
		<free_point>
			<point out="true">L1</point>
		</free_point>
		<free_point>
			<point out="true">L2</point>
		</free_point>
		<line_through_two_points>
			<line out="true">l</line>
			<point>L1</point>
			<point>L2</point>
		</line_through_two_points>
		<free_point>
			<point out="true">P</point>
		</free_point>
		<free_point>
			<point out="true">Q</point>
		</free_point>
		<line_segment_by_points>
			<line_segment out="true">s</line_segment>
			<point>P</point>
			<point>Q</point>
		</line_segment_by_points>
		<symmetry_by_line>
			<point out="true">P2</point>
			<point>P</point>
			<line>l</line>
		</symmetry_by_line>
		<symmetry_by_line>
			<point out="true">Q2</point>
			<point>Q</point>
			<line>l</line>
		</symmetry_by_line>
		<symmetry_by_line>
			<point out="true">s2</point>
			<point>s</point>
			<line>l</line>
		</symmetry_by_line>
	</constraints>
</construction>
