class oadd.org.apache.commons.math.geometry.partitioning.BoundarySizeVisitor extends java.lang.Object implements oadd.org.apache.commons.math.geometry.partitioning.BSPTreeVisitor
{
private double boundarySize;
public void <init>()
{
oadd.org.apache.commons.math.geometry.partitioning.BoundarySizeVisitor v;
v := @this: oadd.org.apache.commons.math.geometry.partitioning.BoundarySizeVisitor;
specialinvoke v.<java.lang.Object: void <init>()>();
v.<oadd.org.apache.commons.math.geometry.partitioning.BoundarySizeVisitor: double boundarySize> = 0.0;
return;
}
public oadd.org.apache.commons.math.geometry.partitioning.BSPTreeVisitor$Order visitOrder(oadd.org.apache.commons.math.geometry.partitioning.BSPTree)
{
oadd.org.apache.commons.math.geometry.partitioning.BSPTree v;
oadd.org.apache.commons.math.geometry.partitioning.BSPTreeVisitor$Order v;
oadd.org.apache.commons.math.geometry.partitioning.BoundarySizeVisitor v;
v := @this: oadd.org.apache.commons.math.geometry.partitioning.BoundarySizeVisitor;
v := @parameter: oadd.org.apache.commons.math.geometry.partitioning.BSPTree;
v = <oadd.org.apache.commons.math.geometry.partitioning.BSPTreeVisitor$Order: oadd.org.apache.commons.math.geometry.partitioning.BSPTreeVisitor$Order MINUS_SUB_PLUS>;
return v;
}
public void visitInternalNode(oadd.org.apache.commons.math.geometry.partitioning.BSPTree)
{
oadd.org.apache.commons.math.geometry.partitioning.BSPTree v;
oadd.org.apache.commons.math.geometry.partitioning.BoundarySizeVisitor v;
java.lang.Object v;
double v, v, v, v, v, v;
oadd.org.apache.commons.math.geometry.partitioning.SubHyperplane v, v, v, v;
v := @this: oadd.org.apache.commons.math.geometry.partitioning.BoundarySizeVisitor;
v := @parameter: oadd.org.apache.commons.math.geometry.partitioning.BSPTree;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.partitioning.BSPTree: java.lang.Object getAttribute()>();
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.partitioning.BoundaryAttribute: oadd.org.apache.commons.math.geometry.partitioning.SubHyperplane getPlusOutside()>();
if v == null goto label;
v = v.<oadd.org.apache.commons.math.geometry.partitioning.BoundarySizeVisitor: double boundarySize>;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.partitioning.BoundaryAttribute: oadd.org.apache.commons.math.geometry.partitioning.SubHyperplane getPlusOutside()>();
v = interfaceinvoke v.<oadd.org.apache.commons.math.geometry.partitioning.SubHyperplane: double getSize()>();
v = v + v;
v.<oadd.org.apache.commons.math.geometry.partitioning.BoundarySizeVisitor: double boundarySize> = v;
label:
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.partitioning.BoundaryAttribute: oadd.org.apache.commons.math.geometry.partitioning.SubHyperplane getPlusInside()>();
if v == null goto label;
v = v.<oadd.org.apache.commons.math.geometry.partitioning.BoundarySizeVisitor: double boundarySize>;
v = virtualinvoke v.<oadd.org.apache.commons.math.geometry.partitioning.BoundaryAttribute: oadd.org.apache.commons.math.geometry.partitioning.SubHyperplane getPlusInside()>();
v = interfaceinvoke v.<oadd.org.apache.commons.math.geometry.partitioning.SubHyperplane: double getSize()>();
v = v + v;
v.<oadd.org.apache.commons.math.geometry.partitioning.BoundarySizeVisitor: double boundarySize> = v;
label:
return;
}
public void visitLeafNode(oadd.org.apache.commons.math.geometry.partitioning.BSPTree)
{
oadd.org.apache.commons.math.geometry.partitioning.BSPTree v;
oadd.org.apache.commons.math.geometry.partitioning.BoundarySizeVisitor v;
v := @this: oadd.org.apache.commons.math.geometry.partitioning.BoundarySizeVisitor;
v := @parameter: oadd.org.apache.commons.math.geometry.partitioning.BSPTree;
return;
}
public double getSize()
{
oadd.org.apache.commons.math.geometry.partitioning.BoundarySizeVisitor v;
double v;
v := @this: oadd.org.apache.commons.math.geometry.partitioning.BoundarySizeVisitor;
v = v.<oadd.org.apache.commons.math.geometry.partitioning.BoundarySizeVisitor: double boundarySize>;
return v;
}
}