cz.cuni.jagrlib
Interface IntersectionAttributes

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

public interface IntersectionAttributes

Object can compute intersection-attributes.

See Also:
IntersectionAttributes.java, MicroFacet

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

Method Detail

assertAttributes

int assertAttributes(MicroFacet mf,
                     java.lang.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.