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