Java Doc for Bounds.java in  » 6.0-JDK-Modules » java-3d » javax » media » j3d » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » java 3d » javax.media.j3d 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   javax.media.j3d.Bounds

All known Subclasses:   javax.media.j3d.BoundingBox,  javax.media.j3d.BoundingSphere,  javax.media.j3d.BoundingPolytope,
Bounds
abstract public class Bounds extends Object implements Cloneable(Code)
The abstract base class for bounds objects. Bounds objects define a convex, closed volume that is used for various intersection and culling operations.


Field Summary
final static  intBOUNDING_BOX
    
final static  intBOUNDING_POLYTOPE
    
final static  intBOUNDING_SPHERE
    
final static  doubleEPSILON
    
 intboundId
    
 booleanboundsIsEmpty
    
 booleanboundsIsInfinite
    
final static  booleandebug
    

Constructor Summary
public  Bounds()
     Constructs a new Bounds object.

Method Summary
abstract public  Objectclone()
     Makes a copy of a bounds object.
abstract public  BoundsclosestIntersection(Bounds[] boundsObjects)
     Finds closest bounding object that intersects this bounding object.
 booleanclosest_point(Point3d g, Vector4d[] planes, Point3d new_point)
    
abstract public  voidcombine(Bounds boundsObject)
     Combines this bounding object with a bounding object so that the resulting bounding object encloses the original bounding object and the given bounds object.
abstract public  voidcombine(Bounds[] boundsObjects)
     Combines this bounding object with an array of bounding objects so that the resulting bounding object encloses the original bounding object and the given array of bounds object.
abstract public  voidcombine(Point3d point)
     Combines this bounding object with a point.
abstract public  voidcombine(Point3d[] points)
     Combines this bounding object with an array of points.
abstract  Boundscopy(Bounds region)
    
abstract public  booleanequals(Object bounds)
     Indicates whether the specified bounds object is equal to this Bounds object.
abstract  Point3dgetCenter()
    
abstract  intgetPickType()
    
synchronized  voidgetWithLock(Bounds b)
    
abstract public  inthashCode()
     Returns a hash code for this Bounds object based on the data values in this object.
abstract public  booleanintersect(Point3d origin, Vector3d direction)
     Test for intersection with a ray.
abstract public  booleanintersect(Point3d point)
     Test for intersection with a point.
abstract  booleanintersect(Point3d origin, Vector3d direction, Point4d position)
    
abstract  booleanintersect(Point3d point, Point4d position)
    
abstract  booleanintersect(Point3d start, Point3d end, Point4d position)
    
abstract  booleanintersect(Bounds boundsObject, Point4d position)
    
abstract public  booleanintersect(Bounds boundsObject)
     Test for intersection with another bounds object.
abstract public  booleanintersect(Bounds[] boundsObjects)
     Test for intersection with another bounds object.
 booleanintersect_ptope_abox(BoundingPolytope polyTope, BoundingBox box)
    
 booleanintersect_ptope_ptope(BoundingPolytope poly1, BoundingPolytope poly2)
    
 booleanintersect_ptope_sphere(BoundingPolytope polyTope, BoundingSphere sphere)
    
abstract public  booleanisEmpty()
     Tests whether the bounds is empty.
abstract public  voidset(Bounds boundsObject)
     Sets the value of this Bounds object.
synchronized  voidsetWithLock(Bounds b)
    
abstract public  voidtransform(Transform3D trans)
     Transforms this bounding object by the given matrix.
abstract public  voidtransform(Bounds bounds, Transform3D trans)
     Modifies the bounding object so that it bounds the volume generated by transforming the given bounding object.

Field Detail
BOUNDING_BOX
final static int BOUNDING_BOX(Code)



BOUNDING_POLYTOPE
final static int BOUNDING_POLYTOPE(Code)



BOUNDING_SPHERE
final static int BOUNDING_SPHERE(Code)



EPSILON
final static double EPSILON(Code)



boundId
int boundId(Code)



boundsIsEmpty
boolean boundsIsEmpty(Code)



boundsIsInfinite
boolean boundsIsInfinite(Code)



debug
final static boolean debug(Code)




Constructor Detail
Bounds
public Bounds()(Code)
Constructs a new Bounds object.




Method Detail
clone
abstract public Object clone()(Code)
Makes a copy of a bounds object.



closestIntersection
abstract public Bounds closestIntersection(Bounds[] boundsObjects)(Code)
Finds closest bounding object that intersects this bounding object.
Parameters:
  boundsObjects - an array of bounds objects closest bounding object



closest_point
boolean closest_point(Point3d g, Vector4d[] planes, Point3d new_point)(Code)
computes the closest point from the given point to a set of planes (polytope)
Parameters:
  g - the point
Parameters:
  planes - array of bounding planes
Parameters:
  new_point - point on planes closest g



combine
abstract public void combine(Bounds boundsObject)(Code)
Combines this bounding object with a bounding object so that the resulting bounding object encloses the original bounding object and the given bounds object.
Parameters:
  boundsObject - another bounds object



combine
abstract public void combine(Bounds[] boundsObjects)(Code)
Combines this bounding object with an array of bounding objects so that the resulting bounding object encloses the original bounding object and the given array of bounds object.
Parameters:
  boundsObjects - an array of bounds objects



combine
abstract public void combine(Point3d point)(Code)
Combines this bounding object with a point.
Parameters:
  point - a 3d point in space



combine
abstract public void combine(Point3d[] points)(Code)
Combines this bounding object with an array of points.
Parameters:
  points - an array of 3d points in space



copy
abstract Bounds copy(Bounds region)(Code)



equals
abstract public boolean equals(Object bounds)(Code)
Indicates whether the specified bounds object is equal to this Bounds object. They are equal if both the specified bounds object and this Bounds are instances of the same Bounds subclass and all of the data members of bounds are equal to the corresponding data members in this Bounds.
Parameters:
  bounds - the object with which the comparison is made. true if this Bounds object is equal to bounds;otherwise false
since:
   Java 3D 1.2



getCenter
abstract Point3d getCenter()(Code)
Returns the center of the bounds bounds center



getPickType
abstract int getPickType()(Code)



getWithLock
synchronized void getWithLock(Bounds b)(Code)



hashCode
abstract public int hashCode()(Code)
Returns a hash code for this Bounds object based on the data values in this object. Two different Bounds objects of the same type with identical data values (i.e., Bounds.equals returns true) will return the same hash code. Two Bounds objects with different data members may return the same hash code value, although this is not likely. a hash code for this Bounds object.
since:
   Java 3D 1.2



intersect
abstract public boolean intersect(Point3d origin, Vector3d direction)(Code)
Test for intersection with a ray.
Parameters:
  origin - the starting point of the ray
Parameters:
  direction - the direction of the ray true or false indicating if an intersection occured



intersect
abstract public boolean intersect(Point3d point)(Code)
Test for intersection with a point.
Parameters:
  point - a point defining a position in 3-space true or false indicating if an intersection occured



intersect
abstract boolean intersect(Point3d origin, Vector3d direction, Point4d position)(Code)
Test for intersection with a ray
Parameters:
  origin - is a the starting point of the ray
Parameters:
  direction - is the direction of the ray
Parameters:
  position - is a point defining the location of the pick w= distance to pick true or false indicating if an intersection occured



intersect
abstract boolean intersect(Point3d point, Point4d position)(Code)
Test for intersection with a point
Parameters:
  point - is a point defining a position in 3-space
Parameters:
  position - is a point defining the location of the pick w= distance to pick true or false indicating if an intersection occured



intersect
abstract boolean intersect(Point3d start, Point3d end, Point4d position)(Code)
Test for intersection with a segment
Parameters:
  start - is a point defining the start of the line segment
Parameters:
  end - is a point defining the end of the line segment
Parameters:
  position - is a point defining the location of the pick w= distance to pick true or false indicating if an intersection occured



intersect
abstract boolean intersect(Bounds boundsObject, Point4d position)(Code)
Test for intersection with another bounds object Test for intersection with another bounds object
Parameters:
  boundsObject - is another bounds object true or false indicating if an intersection occured



intersect
abstract public boolean intersect(Bounds boundsObject)(Code)
Test for intersection with another bounds object.
Parameters:
  boundsObject - another bounds object true or false indicating if an intersection occurred



intersect
abstract public boolean intersect(Bounds[] boundsObjects)(Code)
Test for intersection with another bounds object.
Parameters:
  boundsObjects - an array of bounding objects true or false indicating if an intersection occured



intersect_ptope_abox
boolean intersect_ptope_abox(BoundingPolytope polyTope, BoundingBox box)(Code)



intersect_ptope_ptope
boolean intersect_ptope_ptope(BoundingPolytope poly1, BoundingPolytope poly2)(Code)



intersect_ptope_sphere
boolean intersect_ptope_sphere(BoundingPolytope polyTope, BoundingSphere sphere)(Code)



isEmpty
abstract public boolean isEmpty()(Code)
Tests whether the bounds is empty. A bounds is empty if it is null (either by construction or as the result of a null intersection) or if its volume is negative. A bounds with a volume of zero is not empty. true if the bounds is empty; otherwise, it returns false



set
abstract public void set(Bounds boundsObject)(Code)
Sets the value of this Bounds object.
Parameters:
  boundsObject - another bounds object.



setWithLock
synchronized void setWithLock(Bounds b)(Code)



transform
abstract public void transform(Transform3D trans)(Code)
Transforms this bounding object by the given matrix.
Parameters:
  trans - the transformation matrix



transform
abstract public void transform(Bounds bounds, Transform3D trans)(Code)
Modifies the bounding object so that it bounds the volume generated by transforming the given bounding object.
Parameters:
  bounds - the bounding object to be transformed
Parameters:
  trans - the transformation matrix



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.