Skip to main content

Area's "constructive area geometry"

3 replies [Last post]
Anonymous

hi All,

Does anyone know how to obtain the sources to the AreaOp classes? I'm curious to see how its "Constructive Area Geometry" is implemented -- I guess just seeing the add op will illuminate a lot. Also, does anyone know if this is a proprietary Sun technology or based on some known comp. geom. work? I find it very cool!

Brien

---------------------------------
Everyone is raving about the all-new Yahoo! Mail beta.

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".
[att1.html]

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Brien Colwell

hi --

Thanks for your pointers. I was also not familiar with the Weiler-Atherton algorithm.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".
[att1.html]

Jim Graham

Currently the only mechanism to get access to these sources is via the
Peabody project:

http://java.sun.com/developer/technicalArticles/J2SE/peabody/

You will have to sign a contributor agreement to see the source code as
is described on that page.

The code was developed completely in house based on standard principles
of dealing with curve and line geometry (i.e. curve subdivision, bezier
bounding boxes and convex hulls, etc.). You can google for "bezier
curve intersection" to find a number of academic papers on algorithms...

...jim

Brien Colwell wrote:
> hi All,
>
> Does anyone know how to obtain the sources to the AreaOp classes? I'm
> curious to see how its "Constructive Area Geometry" is implemented -- I
> guess just seeing the add op will illuminate a lot. Also, does anyone
> know if this is a proprietary Sun technology or based on some known
> comp. geom. work? I find it very cool!
>
> Brien

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

Alexey Ushakov

It's also probably worth looking into following book:
"Graphics Gems II (Graphics Gems - IBM)", chapter 1.9. Scanline
coherent shape algebra.

Best Regards,
Alexey

Jim Graham wrote:

> Currently the only mechanism to get access to these sources is via the
> Peabody project:
>
> http://java.sun.com/developer/technicalArticles/J2SE/peabody/
>
> You will have to sign a contributor agreement to see the source code as
> is described on that page.
>
> The code was developed completely in house based on standard principles
> of dealing with curve and line geometry (i.e. curve subdivision, bezier
> bounding boxes and convex hulls, etc.). You can google for "bezier
> curve intersection" to find a number of academic papers on algorithms...
>
> ...jim
>
> Brien Colwell wrote:
>
>> hi All,
>>
>> Does anyone know how to obtain the sources to the AreaOp classes? I'm
>> curious to see how its "Constructive Area Geometry" is implemented -- I
>> guess just seeing the add op will illuminate a lot. Also, does anyone
>> know if this is a proprietary Sun technology or based on some known
>> comp. geom. work? I find it very cool!
>>
>> Brien
>
>
> ===========================================================================
>
> To unsubscribe, send email to listserv@java.sun.com and include in the
> body
> of the message "signoff JAVA2D-INTEREST". For general help, send
> email to
> listserv@java.sun.com and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".