----- Original Message -----
From: "Jim Graham" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 30, 2000 9:13 PM
Subject: Re: [JAVA2D] scale and translate question


> >      1) rounding errors will creep up on you if you do a lot of
> >         calculations
>
> The rotate methods rely on the accuracy of the transcendental operations
> of sin and cos.  Could that be where your rounding errors were coming
> from?
>
> AffineTransform does all work in doubles internally so it should have
> quite a bit of accuracy for any real-world operations.  Transcendental
> trigonometric operations, on the other hand, are often approximated
> for performance.  Some work has been done in recent releases to shift
> away from platform libraries towards a portable library to calculate
> these operations, but there will always be the accuracy/performance
> tradeoff in any implementation of them...
>
>                                 ...jim
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff JAVA2D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to