// Generated by Haxe 4.3.1
package schema;

import haxe.root.*;

@SuppressWarnings(value={"rawtypes", "unchecked"})
public class Line extends haxe.lang.HxObject
{
	static
	{
		//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
		{
			//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
			java.lang.Object __temp_odecl2 = null;
			//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
			{
				//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
				java.lang.Object __temp_odecl1 = new haxe.lang.DynamicObject(new java.lang.String[]{"SuppressWarnings"}, new java.lang.Object[]{new haxe.root.Array(new java.lang.Object[]{"checkstyle:ParameterNumber"})}, new java.lang.String[]{}, new double[]{});
				//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
				__temp_odecl2 = new haxe.lang.DynamicObject(new java.lang.String[]{"_"}, new java.lang.Object[]{__temp_odecl1}, new java.lang.String[]{}, new double[]{});
			}
			
			//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
			schema.Line.__meta__ = new haxe.lang.DynamicObject(new java.lang.String[]{"fields"}, new java.lang.Object[]{__temp_odecl2}, new java.lang.String[]{}, new double[]{});
		}
		
	}
	
	public Line(haxe.lang.EmptyObject empty)
	{
	}
	
	
	public Line(int x1, int y1, int x2, int y2, int hOrientation, int vOrientation)
	{
		//line 16 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
		schema.Line.__hx_ctor_schema_Line(this, x1, y1, x2, y2, hOrientation, vOrientation);
	}
	
	
	protected static void __hx_ctor_schema_Line(schema.Line __hx_this, int x1, int y1, int x2, int y2, int hOrientation, int vOrientation)
	{
		//line 17 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
		__hx_this.x1 = x1;
		//line 18 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
		__hx_this.y1 = y1;
		//line 19 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
		__hx_this.x2 = x2;
		//line 20 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
		__hx_this.y2 = y2;
		//line 21 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
		__hx_this.cx1 = x1;
		//line 22 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
		__hx_this.cy1 = y1;
		//line 23 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
		__hx_this.cx2 = x2;
		//line 24 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
		__hx_this.cy2 = y2;
		//line 25 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
		__hx_this.hOrientation = hOrientation;
		//line 26 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
		__hx_this.vOrientation = vOrientation;
	}
	
	
	public static java.lang.Object __meta__;
	
	public int x1;
	
	public int y1;
	
	public int x2;
	
	public int y2;
	
	public int cx1;
	
	public int cy1;
	
	public int cx2;
	
	public int cy2;
	
	public int vOrientation;
	
	public int hOrientation;
	
	public double getSteering()
	{
		//line 42 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
		return ( ((double) ((( this.y2 - this.y1 ))) ) / (( this.x2 - this.x1 )) );
	}
	
	
	public double getOffset()
	{
		//line 46 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
		return ( this.y2 - ( this.getSteering() * this.x2 ) );
	}
	
	
	public boolean isVertical()
	{
		//line 50 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
		return ( this.x1 == this.x2 );
	}
	
	
	public boolean isHorizontal()
	{
		//line 54 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
		return ( this.y1 == this.y2 );
	}
	
	
	@Override public double __hx_setField_f(java.lang.String field, double value, boolean handleProperties)
	{
		//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
		{
			//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
			boolean __temp_executeDef1 = true;
			//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
			if (( field != null )) 
			{
				//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
				switch (field.hashCode())
				{
					case 768068680:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("hOrientation")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							this.hOrientation = ((int) (value) );
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return value;
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 3769:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("x1")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							this.x1 = ((int) (value) );
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return value;
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case -1719740550:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("vOrientation")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							this.vOrientation = ((int) (value) );
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return value;
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 3800:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("y1")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							this.y1 = ((int) (value) );
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return value;
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 98940:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("cy2")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							this.cy2 = ((int) (value) );
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return value;
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 3770:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("x2")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							this.x2 = ((int) (value) );
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return value;
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 98909:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("cx2")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							this.cx2 = ((int) (value) );
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return value;
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 3801:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("y2")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							this.y2 = ((int) (value) );
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return value;
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 98939:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("cy1")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							this.cy1 = ((int) (value) );
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return value;
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 98908:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("cx1")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							this.cx1 = ((int) (value) );
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return value;
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
				}
				
			}
			
			//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
			if (__temp_executeDef1) 
			{
				//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
				return super.__hx_setField_f(field, value, handleProperties);
			}
			else
			{
				//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
				throw null;
			}
			
		}
		
	}
	
	
	@Override public java.lang.Object __hx_setField(java.lang.String field, java.lang.Object value, boolean handleProperties)
	{
		//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
		{
			//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
			boolean __temp_executeDef1 = true;
			//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
			if (( field != null )) 
			{
				//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
				switch (field.hashCode())
				{
					case 768068680:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("hOrientation")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							this.hOrientation = ((int) (haxe.lang.Runtime.toInt(value)) );
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return value;
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 3769:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("x1")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							this.x1 = ((int) (haxe.lang.Runtime.toInt(value)) );
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return value;
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case -1719740550:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("vOrientation")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							this.vOrientation = ((int) (haxe.lang.Runtime.toInt(value)) );
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return value;
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 3800:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("y1")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							this.y1 = ((int) (haxe.lang.Runtime.toInt(value)) );
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return value;
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 98940:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("cy2")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							this.cy2 = ((int) (haxe.lang.Runtime.toInt(value)) );
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return value;
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 3770:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("x2")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							this.x2 = ((int) (haxe.lang.Runtime.toInt(value)) );
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return value;
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 98909:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("cx2")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							this.cx2 = ((int) (haxe.lang.Runtime.toInt(value)) );
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return value;
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 3801:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("y2")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							this.y2 = ((int) (haxe.lang.Runtime.toInt(value)) );
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return value;
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 98939:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("cy1")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							this.cy1 = ((int) (haxe.lang.Runtime.toInt(value)) );
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return value;
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 98908:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("cx1")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							this.cx1 = ((int) (haxe.lang.Runtime.toInt(value)) );
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return value;
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
				}
				
			}
			
			//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
			if (__temp_executeDef1) 
			{
				//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
				return super.__hx_setField(field, value, handleProperties);
			}
			else
			{
				//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
				throw null;
			}
			
		}
		
	}
	
	
	@Override public java.lang.Object __hx_getField(java.lang.String field, boolean throwErrors, boolean isCheck, boolean handleProperties)
	{
		//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
		{
			//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
			boolean __temp_executeDef1 = true;
			//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
			if (( field != null )) 
			{
				//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
				switch (field.hashCode())
				{
					case -736065298:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("isHorizontal")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return ((haxe.lang.Function) (new haxe.lang.Closure(this, "isHorizontal")) );
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 3769:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("x1")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return this.x1;
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 1517555392:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("isVertical")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return ((haxe.lang.Function) (new haxe.lang.Closure(this, "isVertical")) );
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 3800:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("y1")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return this.y1;
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 676235145:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("getOffset")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return ((haxe.lang.Function) (new haxe.lang.Closure(this, "getOffset")) );
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 3770:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("x2")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return this.x2;
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case -797809177:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("getSteering")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return ((haxe.lang.Function) (new haxe.lang.Closure(this, "getSteering")) );
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 3801:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("y2")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return this.y2;
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 768068680:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("hOrientation")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return this.hOrientation;
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 98908:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("cx1")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return this.cx1;
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case -1719740550:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("vOrientation")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return this.vOrientation;
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 98939:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("cy1")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return this.cy1;
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 98940:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("cy2")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return this.cy2;
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 98909:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("cx2")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return this.cx2;
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
				}
				
			}
			
			//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
			if (__temp_executeDef1) 
			{
				//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
				return super.__hx_getField(field, throwErrors, isCheck, handleProperties);
			}
			else
			{
				//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
				throw null;
			}
			
		}
		
	}
	
	
	@Override public double __hx_getField_f(java.lang.String field, boolean throwErrors, boolean handleProperties)
	{
		//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
		{
			//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
			boolean __temp_executeDef1 = true;
			//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
			if (( field != null )) 
			{
				//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
				switch (field.hashCode())
				{
					case 768068680:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("hOrientation")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return ((double) (this.hOrientation) );
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 3769:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("x1")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return ((double) (this.x1) );
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case -1719740550:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("vOrientation")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return ((double) (this.vOrientation) );
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 3800:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("y1")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return ((double) (this.y1) );
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 98940:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("cy2")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return ((double) (this.cy2) );
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 3770:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("x2")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return ((double) (this.x2) );
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 98909:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("cx2")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return ((double) (this.cx2) );
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 3801:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("y2")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return ((double) (this.y2) );
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 98939:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("cy1")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return ((double) (this.cy1) );
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 98908:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("cx1")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return ((double) (this.cx1) );
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
				}
				
			}
			
			//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
			if (__temp_executeDef1) 
			{
				//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
				return super.__hx_getField_f(field, throwErrors, handleProperties);
			}
			else
			{
				//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
				throw null;
			}
			
		}
		
	}
	
	
	@Override public java.lang.Object __hx_invokeField(java.lang.String field, java.lang.Object[] dynargs)
	{
		//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
		{
			//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
			boolean __temp_executeDef1 = true;
			//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
			if (( field != null )) 
			{
				//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
				switch (field.hashCode())
				{
					case -736065298:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("isHorizontal")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return this.isHorizontal();
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case -797809177:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("getSteering")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return this.getSteering();
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 1517555392:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("isVertical")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return this.isVertical();
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
					case 676235145:
					{
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						if (field.equals("getOffset")) 
						{
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							__temp_executeDef1 = false;
							//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
							return this.getOffset();
						}
						
						//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
						break;
					}
					
					
				}
				
			}
			
			//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
			if (__temp_executeDef1) 
			{
				//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
				return super.__hx_invokeField(field, dynargs);
			}
			else
			{
				//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
				throw null;
			}
			
		}
		
	}
	
	
	@Override public void __hx_getFields(haxe.root.Array<java.lang.String> baseArr)
	{
		//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
		baseArr.push("hOrientation");
		//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
		baseArr.push("vOrientation");
		//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
		baseArr.push("cy2");
		//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
		baseArr.push("cx2");
		//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
		baseArr.push("cy1");
		//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
		baseArr.push("cx1");
		//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
		baseArr.push("y2");
		//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
		baseArr.push("x2");
		//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
		baseArr.push("y1");
		//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
		baseArr.push("x1");
		//line 3 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/schema/Line.hx"
		super.__hx_getFields(baseArr);
	}
	
	
}


