public class oadd.org.apache.commons.math.geometry.euclidean.twod.Line extends java.lang.Object implements oadd.org.apache.commons.math.geometry.partitioning.Hyperplane, oadd.org.apache.commons.math.geometry.partitioning.Embedding
{
private double angle;
private double cos;
private double sin;
private double originOffset;
public void <init>(oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D, oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D)
{
oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D v, v;
oadd.org.apache.commons.math.geometry.euclidean.twod.Line v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.twod.Line;
v := @parameter: oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D;
v := @parameter: oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D;
specialinvoke v.<java.lang.Object: void <init>()>();
virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: void reset(oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D,oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D)>(v, v);
return;
}
public void <init>(oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D, double)
{
oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D v;
oadd.org.apache.commons.math.geometry.euclidean.twod.Line v;
double v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.twod.Line;
v := @parameter: oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D;
v := @parameter: double;
specialinvoke v.<java.lang.Object: void <init>()>();
virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: void reset(oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D,double)>(v, v);
return;
}
private void <init>(double, double, double, double)
{
oadd.org.apache.commons.math.geometry.euclidean.twod.Line v;
double v, v, v, v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.twod.Line;
v := @parameter: double;
v := @parameter: double;
v := @parameter: double;
v := @parameter: double;
specialinvoke v.<java.lang.Object: void <init>()>();
v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double angle> = v;
v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double cos> = v;
v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double sin> = v;
v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double originOffset> = v;
return;
}
public void <init>(oadd.org.apache.commons.math.geometry.euclidean.twod.Line)
{
oadd.org.apache.commons.math.geometry.euclidean.twod.Line v, v;
double v, v, v, v, v, v, v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.twod.Line;
v := @parameter: oadd.org.apache.commons.math.geometry.euclidean.twod.Line;
specialinvoke v.<java.lang.Object: void <init>()>();
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double angle>;
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: double normalizeAngle(double,double)>(v, 3.141592653589793);
v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double angle> = v;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double angle>;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double cos(double)>(v);
v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double cos> = v;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double angle>;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double sin(double)>(v);
v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double sin> = v;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double originOffset>;
v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double originOffset> = v;
return;
}
public oadd.org.apache.commons.math.geometry.euclidean.twod.Line copySelf()
{
oadd.org.apache.commons.math.geometry.euclidean.twod.Line v, v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.twod.Line;
v = new oadd.org.apache.commons.math.geometry.euclidean.twod.Line;
specialinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: void <init>(oadd.org.apache.commons.math.geometry.euclidean.twod.Line)>(v);
return v;
}
public void reset(oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D, oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D)
{
oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D v, v;
byte v;
double v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
oadd.org.apache.commons.math.geometry.euclidean.twod.Line v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.twod.Line;
v := @parameter: oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D;
v := @parameter: oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D: double getX()>();
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D: double getX()>();
v = v - v;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D: double getY()>();
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D: double getY()>();
v = v - v;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double hypot(double,double)>(v, v);
v = v cmpl 0.0;
if v != 0 goto label;
v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double angle> = 0.0;
v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double cos> = 1.0;
v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double sin> = 0.0;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D: double getY()>();
v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double originOffset> = v;
goto label;
label:
v = neg v;
v = neg v;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double atan2(double,double)>(v, v);
v = 3.141592653589793 + v;
v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double angle> = v;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double angle>;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double cos(double)>(v);
v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double cos> = v;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double angle>;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double sin(double)>(v);
v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double sin> = v;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D: double getX()>();
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D: double getY()>();
v = v * v;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D: double getX()>();
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D: double getY()>();
v = v * v;
v = v - v;
v = v / v;
v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double originOffset> = v;
label:
return;
}
public void reset(oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D, double)
{
oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D v;
oadd.org.apache.commons.math.geometry.euclidean.twod.Line v;
double v, v, v, v, v, v, v, v, v, v, v, v, v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.twod.Line;
v := @parameter: oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D;
v := @parameter: double;
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: double normalizeAngle(double,double)>(v, 3.141592653589793);
v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double angle> = v;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double angle>;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double cos(double)>(v);
v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double cos> = v;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double angle>;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double sin(double)>(v);
v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double sin> = v;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double cos>;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D: double getY()>();
v = v * v;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double sin>;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D: double getX()>();
v = v * v;
v = v - v;
v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double originOffset> = v;
return;
}
public void revertSelf()
{
oadd.org.apache.commons.math.geometry.euclidean.twod.Line v;
byte v;
double v, v, v, v, v, v, v, v, v, v, v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.twod.Line;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double angle>;
v = v cmpg 3.141592653589793;
if v >= 0 goto label;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double angle>;
v = v + 3.141592653589793;
v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double angle> = v;
goto label;
label:
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double angle>;
v = v - 3.141592653589793;
v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double angle> = v;
label:
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double cos>;
v = neg v;
v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double cos> = v;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double sin>;
v = neg v;
v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double sin> = v;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double originOffset>;
v = neg v;
v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double originOffset> = v;
return;
}
public oadd.org.apache.commons.math.geometry.euclidean.twod.Line getReverse()
{
oadd.org.apache.commons.math.geometry.euclidean.twod.Line v, v;
byte v;
double v, v, v, v, v, v, v, v, v, v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.twod.Line;
v = new oadd.org.apache.commons.math.geometry.euclidean.twod.Line;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double angle>;
v = v cmpg 3.141592653589793;
if v >= 0 goto label;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double angle>;
v = v + 3.141592653589793;
goto label;
label:
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double angle>;
v = v - 3.141592653589793;
label:
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double cos>;
v = neg v;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double sin>;
v = neg v;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double originOffset>;
v = neg v;
specialinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: void <init>(double,double,double,double)>(v, v, v, v);
return v;
}
public oadd.org.apache.commons.math.geometry.euclidean.oned.Vector1D toSubSpace(oadd.org.apache.commons.math.geometry.Vector)
{
oadd.org.apache.commons.math.geometry.euclidean.oned.Vector1D v;
oadd.org.apache.commons.math.geometry.euclidean.twod.Line v;
oadd.org.apache.commons.math.geometry.Vector v;
double v, v, v, v, v, v, v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.twod.Line;
v := @parameter: oadd.org.apache.commons.math.geometry.Vector;
v = new oadd.org.apache.commons.math.geometry.euclidean.oned.Vector1D;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double cos>;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D: double getX()>();
v = v * v;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double sin>;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D: double getY()>();
v = v * v;
v = v + v;
specialinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.oned.Vector1D: void <init>(double)>(v);
return v;
}
public oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D toSpace(oadd.org.apache.commons.math.geometry.Vector)
{
oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D v;
double v, v, v, v, v, v, v, v, v, v, v, v, v;
oadd.org.apache.commons.math.geometry.euclidean.twod.Line v;
oadd.org.apache.commons.math.geometry.Vector v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.twod.Line;
v := @parameter: oadd.org.apache.commons.math.geometry.Vector;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.oned.Vector1D: double getX()>();
v = new oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double cos>;
v = v * v;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double originOffset>;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double sin>;
v = v * v;
v = v - v;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double sin>;
v = v * v;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double originOffset>;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double cos>;
v = v * v;
v = v + v;
specialinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D: void <init>(double,double)>(v, v);
return v;
}
public oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D intersection(oadd.org.apache.commons.math.geometry.euclidean.twod.Line)
{
oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D v;
byte v;
double v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
oadd.org.apache.commons.math.geometry.euclidean.twod.Line v, v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.twod.Line;
v := @parameter: oadd.org.apache.commons.math.geometry.euclidean.twod.Line;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double sin>;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double cos>;
v = v * v;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double sin>;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double cos>;
v = v * v;
v = v - v;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double abs(double)>(v);
v = v cmpg 1.0E-10;
if v >= 0 goto label;
return null;
label:
v = new oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double cos>;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double originOffset>;
v = v * v;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double cos>;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double originOffset>;
v = v * v;
v = v - v;
v = v / v;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double sin>;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double originOffset>;
v = v * v;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double sin>;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double originOffset>;
v = v * v;
v = v - v;
v = v / v;
specialinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D: void <init>(double,double)>(v, v);
return v;
}
public oadd.org.apache.commons.math.geometry.euclidean.twod.SubLine wholeHyperplane()
{
oadd.org.apache.commons.math.geometry.euclidean.twod.SubLine v;
oadd.org.apache.commons.math.geometry.euclidean.oned.IntervalsSet v;
oadd.org.apache.commons.math.geometry.euclidean.twod.Line v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.twod.Line;
v = new oadd.org.apache.commons.math.geometry.euclidean.twod.SubLine;
v = new oadd.org.apache.commons.math.geometry.euclidean.oned.IntervalsSet;
specialinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.oned.IntervalsSet: void <init>()>();
specialinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.SubLine: void <init>(oadd.org.apache.commons.math.geometry.partitioning.Hyperplane,oadd.org.apache.commons.math.geometry.partitioning.Region)>(v, v);
return v;
}
public oadd.org.apache.commons.math.geometry.euclidean.twod.PolygonsSet wholeSpace()
{
oadd.org.apache.commons.math.geometry.euclidean.twod.Line v;
oadd.org.apache.commons.math.geometry.euclidean.twod.PolygonsSet v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.twod.Line;
v = new oadd.org.apache.commons.math.geometry.euclidean.twod.PolygonsSet;
specialinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.PolygonsSet: void <init>()>();
return v;
}
public double getOffset(oadd.org.apache.commons.math.geometry.euclidean.twod.Line)
{
oadd.org.apache.commons.math.geometry.euclidean.twod.Line v, v;
byte v;
double v, v, v, v, v, v, v, v, v, v, v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.twod.Line;
v := @parameter: oadd.org.apache.commons.math.geometry.euclidean.twod.Line;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double originOffset>;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double cos>;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double cos>;
v = v * v;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double sin>;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double sin>;
v = v * v;
v = v + v;
v = v cmpl 0.0;
if v <= 0 goto label;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double originOffset>;
v = neg v;
goto label;
label:
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double originOffset>;
label:
v = v + v;
return v;
}
public double getOffset(oadd.org.apache.commons.math.geometry.Vector)
{
oadd.org.apache.commons.math.geometry.euclidean.twod.Line v;
oadd.org.apache.commons.math.geometry.Vector v;
double v, v, v, v, v, v, v, v, v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.twod.Line;
v := @parameter: oadd.org.apache.commons.math.geometry.Vector;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double sin>;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D: double getX()>();
v = v * v;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double cos>;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D: double getY()>();
v = v * v;
v = v - v;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double originOffset>;
v = v + v;
return v;
}
public boolean sameOrientationAs(oadd.org.apache.commons.math.geometry.partitioning.Hyperplane)
{
oadd.org.apache.commons.math.geometry.euclidean.twod.Line v;
oadd.org.apache.commons.math.geometry.partitioning.Hyperplane v;
byte v;
boolean v;
double v, v, v, v, v, v, v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.twod.Line;
v := @parameter: oadd.org.apache.commons.math.geometry.partitioning.Hyperplane;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double sin>;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double sin>;
v = v * v;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double cos>;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double cos>;
v = v * v;
v = v + v;
v = v cmpl 0.0;
if v < 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D getPointAt(oadd.org.apache.commons.math.geometry.euclidean.oned.Vector1D, double)
{
oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D v;
double v, v, v, v, v, v, v, v, v, v, v, v, v, v;
oadd.org.apache.commons.math.geometry.euclidean.oned.Vector1D v;
oadd.org.apache.commons.math.geometry.euclidean.twod.Line v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.twod.Line;
v := @parameter: oadd.org.apache.commons.math.geometry.euclidean.oned.Vector1D;
v := @parameter: double;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.oned.Vector1D: double getX()>();
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double originOffset>;
v = v - v;
v = new oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double cos>;
v = v * v;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double sin>;
v = v * v;
v = v + v;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double sin>;
v = v * v;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double cos>;
v = v * v;
v = v - v;
specialinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D: void <init>(double,double)>(v, v);
return v;
}
public boolean contains(oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D)
{
byte v;
oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D v;
oadd.org.apache.commons.math.geometry.euclidean.twod.Line v;
boolean v;
double v, v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.twod.Line;
v := @parameter: oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double getOffset(oadd.org.apache.commons.math.geometry.Vector)>(v);
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double abs(double)>(v);
v = v cmpg 1.0E-10;
if v >= 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public double distance(oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D)
{
oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D v;
oadd.org.apache.commons.math.geometry.euclidean.twod.Line v;
double v, v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.twod.Line;
v := @parameter: oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double getOffset(oadd.org.apache.commons.math.geometry.Vector)>(v);
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double abs(double)>(v);
return v;
}
public boolean isParallelTo(oadd.org.apache.commons.math.geometry.euclidean.twod.Line)
{
oadd.org.apache.commons.math.geometry.euclidean.twod.Line v, v;
byte v;
boolean v;
double v, v, v, v, v, v, v, v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.twod.Line;
v := @parameter: oadd.org.apache.commons.math.geometry.euclidean.twod.Line;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double sin>;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double cos>;
v = v * v;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double cos>;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double sin>;
v = v * v;
v = v - v;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double abs(double)>(v);
v = v cmpg 1.0E-10;
if v >= 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public void translateToPoint(oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D)
{
oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D v;
oadd.org.apache.commons.math.geometry.euclidean.twod.Line v;
double v, v, v, v, v, v, v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.twod.Line;
v := @parameter: oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double cos>;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D: double getY()>();
v = v * v;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double sin>;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D: double getX()>();
v = v * v;
v = v - v;
v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double originOffset> = v;
return;
}
public double getAngle()
{
oadd.org.apache.commons.math.geometry.euclidean.twod.Line v;
double v, v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.twod.Line;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double angle>;
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: double normalizeAngle(double,double)>(v, 3.141592653589793);
return v;
}
public void setAngle(double)
{
oadd.org.apache.commons.math.geometry.euclidean.twod.Line v;
double v, v, v, v, v, v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.twod.Line;
v := @parameter: double;
v = staticinvoke <oadd.org.apache.commons.math.util.MathUtils: double normalizeAngle(double,double)>(v, 3.141592653589793);
v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double angle> = v;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double angle>;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double cos(double)>(v);
v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double cos> = v;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double angle>;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double sin(double)>(v);
v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double sin> = v;
return;
}
public double getOriginOffset()
{
oadd.org.apache.commons.math.geometry.euclidean.twod.Line v;
double v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.twod.Line;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double originOffset>;
return v;
}
public void setOriginOffset(double)
{
oadd.org.apache.commons.math.geometry.euclidean.twod.Line v;
double v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.twod.Line;
v := @parameter: double;
v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line: double originOffset> = v;
return;
}
public static oadd.org.apache.commons.math.geometry.partitioning.Transform getTransform(java.awt.geom.AffineTransform) throws oadd.org.apache.commons.math.exception.MathIllegalArgumentException
{
oadd.org.apache.commons.math.geometry.euclidean.twod.Line$LineTransform v;
java.awt.geom.AffineTransform v;
v := @parameter: java.awt.geom.AffineTransform;
v = new oadd.org.apache.commons.math.geometry.euclidean.twod.Line$LineTransform;
specialinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Line$LineTransform: void <init>(java.awt.geom.AffineTransform)>(v);
return v;
}
}