cz.cuni.jagrlib
Interface IntersectionAttributes

All Known Subinterfaces:
SceneNode, Solid
All Known Implementing Classes:
BrepSolid, BrepSolidDirectory, Cone, CSGCommonNode, CSGLeaf, CSGNode, Cube, Cylinder, DefaultSceneNode, DefaultSolid, Plane, Revolution, SolidSpecimen, Sphere

public interface IntersectionAttributes

Object can compute intersection-attributes.

Version:
0.26 $Rev: 460 $ $Date: 2007-05-21 17:21:31 +0200 (po, 21 V 2007) $ $Author: pepca $
See Also:
IntersectionAttributes.java, MicroFacet

Method Summary
 int assertAttributes(MicroFacet mf, Object tmp, int attributes)
          Asserts validity of the given intersection-attributes.
 

Method Detail

assertAttributes

int assertAttributes(MicroFacet mf,
                     Object tmp,
                     int attributes)
Asserts validity of the given intersection-attributes.

Parameters:
mf - The checked intersection.
tmp - Non-mandatory object holding state-information for deferred computations.
attributes - Attribute mask (required attributes - see MicroFacet.VALID_*).
Returns:
Attributes which were not computed.