Package javax.media.j3d
Class BadTransformException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.media.j3d.BadTransformException
- All Implemented Interfaces:
Serializable
Indicates an attempt to use a Tranform3D object that is
inappropriate for the object in which it is being used.
For example:
- Transforms that are used in the scene graph, within a TransformGroup node, must be affine. They may optionally contain a non-uniform scale and/or a shear, subject to other listed restrictions.
- All transforms in the TransformGroup nodes above a ViewPlatform object must be congruent. This ensures that the Vworld coordinates to ViewPlatform coordinates transform is angle and length-preserving with no shear and only uniform scale.
- Most viewing transforms other than those in the scene graph can only contain translation and rotation.
- The projection transform is allowed to be non-affine, but it must either be a single point perspective projection or a parallel projection.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreate the exception object with default values.Create the exception object that outputs message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BadTransformException
public BadTransformException()Create the exception object with default values. -
BadTransformException
Create the exception object that outputs message.- Parameters:
str
- the message string to be output.
-