public class oadd.org.apache.commons.math.geometry.euclidean.threed.SubLine extends java.lang.Object
{
private final oadd.org.apache.commons.math.geometry.euclidean.threed.Line line;
private final oadd.org.apache.commons.math.geometry.euclidean.oned.IntervalsSet remainingRegion;
public void <init>(oadd.org.apache.commons.math.geometry.euclidean.threed.Line, oadd.org.apache.commons.math.geometry.euclidean.oned.IntervalsSet)
{
oadd.org.apache.commons.math.geometry.euclidean.threed.Line v;
oadd.org.apache.commons.math.geometry.euclidean.oned.IntervalsSet v;
oadd.org.apache.commons.math.geometry.euclidean.threed.SubLine v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.threed.SubLine;
v := @parameter: oadd.org.apache.commons.math.geometry.euclidean.threed.Line;
v := @parameter: oadd.org.apache.commons.math.geometry.euclidean.oned.IntervalsSet;
specialinvoke v.<java.lang.Object: void <init>()>();
v.<oadd.org.apache.commons.math.geometry.euclidean.threed.SubLine: oadd.org.apache.commons.math.geometry.euclidean.threed.Line line> = v;
v.<oadd.org.apache.commons.math.geometry.euclidean.threed.SubLine: oadd.org.apache.commons.math.geometry.euclidean.oned.IntervalsSet remainingRegion> = v;
return;
}
public void <init>(oadd.org.apache.commons.math.geometry.euclidean.threed.Vector3D, oadd.org.apache.commons.math.geometry.euclidean.threed.Vector3D) throws oadd.org.apache.commons.math.exception.MathIllegalArgumentException
{
oadd.org.apache.commons.math.geometry.euclidean.threed.Vector3D v, v;
oadd.org.apache.commons.math.geometry.euclidean.threed.SubLine v;
oadd.org.apache.commons.math.geometry.euclidean.threed.Line v;
oadd.org.apache.commons.math.geometry.euclidean.oned.IntervalsSet v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.threed.SubLine;
v := @parameter: oadd.org.apache.commons.math.geometry.euclidean.threed.Vector3D;
v := @parameter: oadd.org.apache.commons.math.geometry.euclidean.threed.Vector3D;
v = new oadd.org.apache.commons.math.geometry.euclidean.threed.Line;
specialinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.threed.Line: void <init>(oadd.org.apache.commons.math.geometry.euclidean.threed.Vector3D,oadd.org.apache.commons.math.geometry.euclidean.threed.Vector3D)>(v, v);
v = staticinvoke <oadd.org.apache.commons.math.geometry.euclidean.threed.SubLine: oadd.org.apache.commons.math.geometry.euclidean.oned.IntervalsSet buildIntervalSet(oadd.org.apache.commons.math.geometry.euclidean.threed.Vector3D,oadd.org.apache.commons.math.geometry.euclidean.threed.Vector3D)>(v, v);
specialinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.threed.SubLine: void <init>(oadd.org.apache.commons.math.geometry.euclidean.threed.Line,oadd.org.apache.commons.math.geometry.euclidean.oned.IntervalsSet)>(v, v);
return;
}
public void <init>(oadd.org.apache.commons.math.geometry.euclidean.threed.Segment) throws oadd.org.apache.commons.math.exception.MathIllegalArgumentException
{
oadd.org.apache.commons.math.geometry.euclidean.threed.Vector3D v, v;
oadd.org.apache.commons.math.geometry.euclidean.threed.SubLine v;
oadd.org.apache.commons.math.geometry.euclidean.threed.Line v;
oadd.org.apache.commons.math.geometry.euclidean.oned.IntervalsSet v;
oadd.org.apache.commons.math.geometry.euclidean.threed.Segment v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.threed.SubLine;
v := @parameter: oadd.org.apache.commons.math.geometry.euclidean.threed.Segment;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.threed.Segment: oadd.org.apache.commons.math.geometry.euclidean.threed.Line getLine()>();
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.threed.Segment: oadd.org.apache.commons.math.geometry.euclidean.threed.Vector3D getStart()>();
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.threed.Segment: oadd.org.apache.commons.math.geometry.euclidean.threed.Vector3D getEnd()>();
v = staticinvoke <oadd.org.apache.commons.math.geometry.euclidean.threed.SubLine: oadd.org.apache.commons.math.geometry.euclidean.oned.IntervalsSet buildIntervalSet(oadd.org.apache.commons.math.geometry.euclidean.threed.Vector3D,oadd.org.apache.commons.math.geometry.euclidean.threed.Vector3D)>(v, v);
specialinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.threed.SubLine: void <init>(oadd.org.apache.commons.math.geometry.euclidean.threed.Line,oadd.org.apache.commons.math.geometry.euclidean.oned.IntervalsSet)>(v, v);
return;
}
public java.util.List getSegments()
{
oadd.org.apache.commons.math.geometry.euclidean.threed.Vector3D v, v;
oadd.org.apache.commons.math.geometry.euclidean.threed.SubLine v;
java.util.ArrayList v;
oadd.org.apache.commons.math.geometry.euclidean.threed.Line v, v, v;
oadd.org.apache.commons.math.geometry.euclidean.oned.IntervalsSet v;
boolean v;
double v, v;
java.util.Iterator v;
oadd.org.apache.commons.math.geometry.euclidean.oned.Vector1D v, v;
oadd.org.apache.commons.math.geometry.euclidean.threed.Segment v;
java.util.List v;
java.lang.Object v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.threed.SubLine;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.threed.SubLine: oadd.org.apache.commons.math.geometry.euclidean.oned.IntervalsSet remainingRegion>;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.oned.IntervalsSet: java.util.List asList()>();
v = new java.util.ArrayList;
specialinvoke v.<java.util.ArrayList: void <init>()>();
v = interfaceinvoke v.<java.util.List: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = v.<oadd.org.apache.commons.math.geometry.euclidean.threed.SubLine: oadd.org.apache.commons.math.geometry.euclidean.threed.Line line>;
v = new oadd.org.apache.commons.math.geometry.euclidean.oned.Vector1D;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.oned.Interval: double getInf()>();
specialinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.oned.Vector1D: void <init>(double)>(v);
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.threed.Line: oadd.org.apache.commons.math.geometry.euclidean.threed.Vector3D toSpace(oadd.org.apache.commons.math.geometry.Vector)>(v);
v = v.<oadd.org.apache.commons.math.geometry.euclidean.threed.SubLine: oadd.org.apache.commons.math.geometry.euclidean.threed.Line line>;
v = new oadd.org.apache.commons.math.geometry.euclidean.oned.Vector1D;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.oned.Interval: double getSup()>();
specialinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.oned.Vector1D: void <init>(double)>(v);
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.threed.Line: oadd.org.apache.commons.math.geometry.euclidean.threed.Vector3D toSpace(oadd.org.apache.commons.math.geometry.Vector)>(v);
v = new oadd.org.apache.commons.math.geometry.euclidean.threed.Segment;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.threed.SubLine: oadd.org.apache.commons.math.geometry.euclidean.threed.Line line>;
specialinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.threed.Segment: void <init>(oadd.org.apache.commons.math.geometry.euclidean.threed.Vector3D,oadd.org.apache.commons.math.geometry.euclidean.threed.Vector3D,oadd.org.apache.commons.math.geometry.euclidean.threed.Line)>(v, v, v);
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
goto label;
label:
return v;
}
public oadd.org.apache.commons.math.geometry.euclidean.threed.Vector3D intersection(oadd.org.apache.commons.math.geometry.euclidean.threed.SubLine, boolean)
{
oadd.org.apache.commons.math.geometry.euclidean.threed.Vector3D v, v, v;
oadd.org.apache.commons.math.geometry.euclidean.threed.SubLine v, v;
oadd.org.apache.commons.math.geometry.euclidean.threed.Line v, v, v, v;
oadd.org.apache.commons.math.geometry.euclidean.oned.IntervalsSet v, v;
boolean v;
oadd.org.apache.commons.math.geometry.partitioning.Region$Location v, v, v, v, v, v;
oadd.org.apache.commons.math.geometry.euclidean.oned.Vector1D v, v;
v := @this: oadd.org.apache.commons.math.geometry.euclidean.threed.SubLine;
v := @parameter: oadd.org.apache.commons.math.geometry.euclidean.threed.SubLine;
v := @parameter: boolean;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.threed.SubLine: oadd.org.apache.commons.math.geometry.euclidean.threed.Line line>;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.threed.SubLine: oadd.org.apache.commons.math.geometry.euclidean.threed.Line line>;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.threed.Line: oadd.org.apache.commons.math.geometry.euclidean.threed.Vector3D intersection(oadd.org.apache.commons.math.geometry.euclidean.threed.Line)>(v);
v = v.<oadd.org.apache.commons.math.geometry.euclidean.threed.SubLine: oadd.org.apache.commons.math.geometry.euclidean.oned.IntervalsSet remainingRegion>;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.threed.SubLine: oadd.org.apache.commons.math.geometry.euclidean.threed.Line line>;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.threed.Line: oadd.org.apache.commons.math.geometry.euclidean.oned.Vector1D toSubSpace(oadd.org.apache.commons.math.geometry.Vector)>(v);
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.oned.IntervalsSet: oadd.org.apache.commons.math.geometry.partitioning.Region$Location checkPoint(oadd.org.apache.commons.math.geometry.Vector)>(v);
v = v.<oadd.org.apache.commons.math.geometry.euclidean.threed.SubLine: oadd.org.apache.commons.math.geometry.euclidean.oned.IntervalsSet remainingRegion>;
v = v.<oadd.org.apache.commons.math.geometry.euclidean.threed.SubLine: oadd.org.apache.commons.math.geometry.euclidean.threed.Line line>;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.threed.Line: oadd.org.apache.commons.math.geometry.euclidean.oned.Vector1D toSubSpace(oadd.org.apache.commons.math.geometry.Vector)>(v);
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.oned.IntervalsSet: oadd.org.apache.commons.math.geometry.partitioning.Region$Location checkPoint(oadd.org.apache.commons.math.geometry.Vector)>(v);
if v == 0 goto label;
v = <oadd.org.apache.commons.math.geometry.partitioning.Region$Location: oadd.org.apache.commons.math.geometry.partitioning.Region$Location OUTSIDE>;
if v == v goto label;
v = <oadd.org.apache.commons.math.geometry.partitioning.Region$Location: oadd.org.apache.commons.math.geometry.partitioning.Region$Location OUTSIDE>;
if v == v goto label;
v = v;
goto label;
label:
v = null;
label:
return v;
label:
v = <oadd.org.apache.commons.math.geometry.partitioning.Region$Location: oadd.org.apache.commons.math.geometry.partitioning.Region$Location INSIDE>;
if v != v goto label;
v = <oadd.org.apache.commons.math.geometry.partitioning.Region$Location: oadd.org.apache.commons.math.geometry.partitioning.Region$Location INSIDE>;
if v != v goto label;
v = v;
goto label;
label:
v = null;
label:
return v;
}
private static oadd.org.apache.commons.math.geometry.euclidean.oned.IntervalsSet buildIntervalSet(oadd.org.apache.commons.math.geometry.euclidean.threed.Vector3D, oadd.org.apache.commons.math.geometry.euclidean.threed.Vector3D) throws oadd.org.apache.commons.math.exception.MathIllegalArgumentException
{
oadd.org.apache.commons.math.geometry.euclidean.threed.Vector3D v, v;
oadd.org.apache.commons.math.geometry.euclidean.oned.Vector1D v, v;
oadd.org.apache.commons.math.geometry.euclidean.threed.Line v;
oadd.org.apache.commons.math.geometry.euclidean.oned.IntervalsSet v;
double v, v;
v := @parameter: oadd.org.apache.commons.math.geometry.euclidean.threed.Vector3D;
v := @parameter: oadd.org.apache.commons.math.geometry.euclidean.threed.Vector3D;
v = new oadd.org.apache.commons.math.geometry.euclidean.threed.Line;
specialinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.threed.Line: void <init>(oadd.org.apache.commons.math.geometry.euclidean.threed.Vector3D,oadd.org.apache.commons.math.geometry.euclidean.threed.Vector3D)>(v, v);
v = new oadd.org.apache.commons.math.geometry.euclidean.oned.IntervalsSet;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.threed.Line: oadd.org.apache.commons.math.geometry.euclidean.oned.Vector1D toSubSpace(oadd.org.apache.commons.math.geometry.Vector)>(v);
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.oned.Vector1D: double getX()>();
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.threed.Line: oadd.org.apache.commons.math.geometry.euclidean.oned.Vector1D toSubSpace(oadd.org.apache.commons.math.geometry.Vector)>(v);
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.oned.Vector1D: double getX()>();
specialinvoke v.<oadd.org.apache.commons.math.geometry.euclidean.oned.IntervalsSet: void <init>(double,double)>(v, v);
return v;
}
}