com.sun.j3d.utils.geometry
Class BBox

java.lang.Object
  extended by com.sun.j3d.utils.geometry.BBox

 class BBox
extends java.lang.Object

Bounding Box class for Triangulator.


Field Summary
(package private)  int imax
           
(package private)  int imin
           
(package private)  double ymax
           
(package private)  double ymin
           
 
Constructor Summary
BBox(Triangulator triRef, int i, int j)
          This constructor computes the bounding box of a line segment whose end points i, j are sorted according to x-coordinates.
 
Method Summary
(package private)  double BBoxArea(Triangulator triRef)
           
(package private)  boolean BBoxContained(BBox bb)
           
(package private)  boolean BBoxIdenticalLeaf(BBox bb)
           
(package private)  boolean BBoxOverlap(BBox bb)
           
(package private)  void BBoxUnion(BBox bb1, BBox bb3)
           
(package private)  boolean pntInBBox(Triangulator triRef, int i)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

imin

int imin

imax

int imax

ymin

double ymin

ymax

double ymax
Constructor Detail

BBox

BBox(Triangulator triRef,
     int i,
     int j)
This constructor computes the bounding box of a line segment whose end points i, j are sorted according to x-coordinates.

Method Detail

pntInBBox

boolean pntInBBox(Triangulator triRef,
                  int i)

BBoxOverlap

boolean BBoxOverlap(BBox bb)

BBoxContained

boolean BBoxContained(BBox bb)

BBoxIdenticalLeaf

boolean BBoxIdenticalLeaf(BBox bb)

BBoxUnion

void BBoxUnion(BBox bb1,
               BBox bb3)

BBoxArea

double BBoxArea(Triangulator triRef)


Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.