public class org.apache.commons.math.geometry.euclidean.oned.OrientedPoint extends java.lang.Object implements org.apache.commons.math.geometry.partitioning.Hyperplane
{
private org.apache.commons.math.geometry.euclidean.oned.Vector1D location;
private boolean direct;
public void <init>(org.apache.commons.math.geometry.euclidean.oned.Vector1D, boolean)
{
org.apache.commons.math.geometry.euclidean.oned.Vector1D v;
boolean v;
org.apache.commons.math.geometry.euclidean.oned.OrientedPoint v;
v := @this: org.apache.commons.math.geometry.euclidean.oned.OrientedPoint;
v := @parameter: org.apache.commons.math.geometry.euclidean.oned.Vector1D;
v := @parameter: boolean;
specialinvoke v.<java.lang.Object: void <init>()>();
v.<org.apache.commons.math.geometry.euclidean.oned.OrientedPoint: org.apache.commons.math.geometry.euclidean.oned.Vector1D location> = v;
v.<org.apache.commons.math.geometry.euclidean.oned.OrientedPoint: boolean direct> = v;
return;
}
public org.apache.commons.math.geometry.euclidean.oned.OrientedPoint copySelf()
{
org.apache.commons.math.geometry.euclidean.oned.OrientedPoint v;
v := @this: org.apache.commons.math.geometry.euclidean.oned.OrientedPoint;
return v;
}
public double getOffset(org.apache.commons.math.geometry.Vector)
{
org.apache.commons.math.geometry.Vector v;
org.apache.commons.math.geometry.euclidean.oned.Vector1D v;
org.apache.commons.math.geometry.euclidean.oned.OrientedPoint v;
boolean v;
double v, v, v, v;
v := @this: org.apache.commons.math.geometry.euclidean.oned.OrientedPoint;
v := @parameter: org.apache.commons.math.geometry.Vector;
v = virtualinvoke v.<org.apache.commons.math.geometry.euclidean.oned.Vector1D: double getX()>();
v = v.<org.apache.commons.math.geometry.euclidean.oned.OrientedPoint: org.apache.commons.math.geometry.euclidean.oned.Vector1D location>;
v = virtualinvoke v.<org.apache.commons.math.geometry.euclidean.oned.Vector1D: double getX()>();
v = v - v;
v = v.<org.apache.commons.math.geometry.euclidean.oned.OrientedPoint: boolean direct>;
if v == 0 goto label;
v = v;
goto label;
label:
v = neg v;
label:
return v;
}
public org.apache.commons.math.geometry.euclidean.oned.SubOrientedPoint wholeHyperplane()
{
org.apache.commons.math.geometry.euclidean.oned.SubOrientedPoint v;
org.apache.commons.math.geometry.euclidean.oned.OrientedPoint v;
v := @this: org.apache.commons.math.geometry.euclidean.oned.OrientedPoint;
v = new org.apache.commons.math.geometry.euclidean.oned.SubOrientedPoint;
specialinvoke v.<org.apache.commons.math.geometry.euclidean.oned.SubOrientedPoint: void <init>(org.apache.commons.math.geometry.partitioning.Hyperplane,org.apache.commons.math.geometry.partitioning.Region)>(v, null);
return v;
}
public org.apache.commons.math.geometry.euclidean.oned.IntervalsSet wholeSpace()
{
org.apache.commons.math.geometry.euclidean.oned.IntervalsSet v;
org.apache.commons.math.geometry.euclidean.oned.OrientedPoint v;
v := @this: org.apache.commons.math.geometry.euclidean.oned.OrientedPoint;
v = new org.apache.commons.math.geometry.euclidean.oned.IntervalsSet;
specialinvoke v.<org.apache.commons.math.geometry.euclidean.oned.IntervalsSet: void <init>()>();
return v;
}
public boolean sameOrientationAs(org.apache.commons.math.geometry.partitioning.Hyperplane)
{
org.apache.commons.math.geometry.partitioning.Hyperplane v;
boolean v, v, v, v;
org.apache.commons.math.geometry.euclidean.oned.OrientedPoint v;
v := @this: org.apache.commons.math.geometry.euclidean.oned.OrientedPoint;
v := @parameter: org.apache.commons.math.geometry.partitioning.Hyperplane;
v = v.<org.apache.commons.math.geometry.euclidean.oned.OrientedPoint: boolean direct>;
v = v.<org.apache.commons.math.geometry.euclidean.oned.OrientedPoint: boolean direct>;
v = v ^ v;
if v != 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public org.apache.commons.math.geometry.euclidean.oned.Vector1D getLocation()
{
org.apache.commons.math.geometry.euclidean.oned.Vector1D v;
org.apache.commons.math.geometry.euclidean.oned.OrientedPoint v;
v := @this: org.apache.commons.math.geometry.euclidean.oned.OrientedPoint;
v = v.<org.apache.commons.math.geometry.euclidean.oned.OrientedPoint: org.apache.commons.math.geometry.euclidean.oned.Vector1D location>;
return v;
}
public boolean isDirect()
{
boolean v;
org.apache.commons.math.geometry.euclidean.oned.OrientedPoint v;
v := @this: org.apache.commons.math.geometry.euclidean.oned.OrientedPoint;
v = v.<org.apache.commons.math.geometry.euclidean.oned.OrientedPoint: boolean direct>;
return v;
}
public void revertSelf()
{
boolean v, v;
org.apache.commons.math.geometry.euclidean.oned.OrientedPoint v;
v := @this: org.apache.commons.math.geometry.euclidean.oned.OrientedPoint;
v = v.<org.apache.commons.math.geometry.euclidean.oned.OrientedPoint: boolean direct>;
if v != 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
v.<org.apache.commons.math.geometry.euclidean.oned.OrientedPoint: boolean direct> = v;
return;
}
}