public class oadd.org.apache.commons.math.geometry.euclidean.twod.Segment extends java.lang.Object
{
private final oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D start;
private final oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D end;
private final oadd.org.apache.commons.math.geometry.euclidean.twod.Line line;
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.Line)
{
oadd.org.apache.commons.math.geometry.euclidean.twod.Segment v;
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.Segment;
v := @parameter: oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D;
v := @parameter: oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D;
v := @parameter: oadd.org.apache.commons.math.geometry.euclidean.twod.Line;
specialinvoke v.<java.lang.Object: void <init>()>();
v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Segment: oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D start> = v;
v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Segment: oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D end> = v;
v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Segment: oadd.org.apache.commons.math.geometry.euclidean.twod.Line line> = v;
return;
}
public oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D getStart()
{
oadd.org.apache.commons.math.geometry.euclidean.twod.Segment v;
oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.twod.Segment;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Segment: oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D start>;
return v;
}
public oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D getEnd()
{
oadd.org.apache.commons.math.geometry.euclidean.twod.Segment v;
oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.twod.Segment;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Segment: oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D end>;
return v;
}
public oadd.org.apache.commons.math.geometry.euclidean.twod.Line getLine()
{
oadd.org.apache.commons.math.geometry.euclidean.twod.Segment v;
oadd.org.apache.commons.math.geometry.euclidean.twod.Line v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.twod.Segment;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Segment: oadd.org.apache.commons.math.geometry.euclidean.twod.Line line>;
return v;
}
public double distance(oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D)
{
oadd.org.apache.commons.math.geometry.euclidean.twod.Segment v;
oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D v, v, v, v, v, v, v, v, v, v, v, v;
byte v, 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, v, v, v, v, v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.twod.Segment;
v := @parameter: oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Segment: oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D end>;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D: double getX()>();
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Segment: oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D start>;
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.Segment: oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D end>;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D: double getY()>();
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Segment: oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D start>;
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 = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Segment: oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D start>;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D: double getX()>();
v = v - v;
v = v * v;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D: double getY()>();
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Segment: oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D start>;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D: double getY()>();
v = v - v;
v = v * v;
v = v + v;
v = v * v;
v = v * v;
v = v + v;
v = v / v;
v = v cmpg 0.0;
if v < 0 goto label;
v = v cmpl 1.0;
if v <= 0 goto label;
label:
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Segment: oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D getStart()>();
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D: double distance(oadd.org.apache.commons.math.geometry.Vector)>(v);
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Segment: oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D getEnd()>();
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D: double distance(oadd.org.apache.commons.math.geometry.Vector)>(v);
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double min(double,double)>(v, v);
return v;
label:
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Segment: oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D start>;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D: double getX()>();
v = v * v;
v = v + v;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Segment: oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D start>;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D: double getY()>();
v = v * v;
v = v + v;
v = new oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D;
specialinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D: void <init>(double,double)>(v, v);
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.twod.Vector2D: double distance(oadd.org.apache.commons.math.geometry.Vector)>(v);
return v;
}
}