cz.cuni.jagrlib.iface
Interface Intersectable
- All Superinterfaces:
- Property
- All Known Subinterfaces:
- RTScene
- All Known Implementing Classes:
- StaticCSGScene
public interface Intersectable
- extends Property
Object which can be intersected by 3D rays.
- Since:
- 0.11
- See Also:
- Intersectable.java,
MicroFacet
Method Summary |
MicroFacet |
intersection(double[] P0,
double[] P1)
Computes the nearest intersection of the given ray with scene surface. |
intersection
MicroFacet intersection(double[] P0,
double[] P1)
- Computes the nearest intersection of the given ray with scene surface.
- Parameters:
P0
- Ray origin (double[3] or double[4]).P1
- Direction vector of the ray (double[3] or double[4]).
- Returns:
- The nearest intersection point or null.
- See Also:
MicroFacet