chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Bounty for an egg or two.


From: Ivan Raikov
Subject: Re: [Chicken-users] Bounty for an egg or two.
Date: Mon, 05 Apr 2010 15:50:11 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Hi Matt,

   The URL you have included below points to the home page of the
General Polygon Clipper, a different library unrelated to FastGEO. As
for FastGEO, it can be compiled by the Free Pascal Compiler, which can
compile procedures to use the C calling convention, but beyond that I
don't know if there would be any issues involved. I would think that it
should be fairly straightforward to compile FastGEO with C calling
convention and see if you get any errors. Another thing is that I found
the FastGEO source code to be quite clear and readable, so it might be
easier to port some of its procedures to Scheme, using SRFI-4 vectors
and appropriate record types. This might be simpler than messing around
with the Pascal code.

   -Ivan

Matthew Welland <address@hidden> writes:

> Thanks Ivan and Felix for taking a look. 
>
> FastGEO looks promising, I'll dig a little deeper into it. Can you comment 
> on how tough creating an interface to gpc would be? I see that it has 
> Haskell, Java, Lua, Octave, Perl, Python etc. bindings which might indicate 
> it is a bit easier to interface to than cgal.
>
> http://www.cs.man.ac.uk/~toby/alan/software//index.html#gpc
>
> On Sunday 04 April 2010 05:45:16 pm Ivan Raikov wrote:
>>   I don't know about Ogre3D, but I also found cgal to have an especially
>> FFI-unfriendly API.  Speaking of computational geometry libraries, I
>> came across a library called FastGEO:
>>
>>   http://www.partow.net/projects/fastgeo/index.html
>>
>> It is written in Object Pascal, but I found its interface to be quite
>> simple, and I think it would not be altogether difficult to either port
>> it to Scheme, or compile it with cdecl calling convention and use
>> Chicken's FFI to call its procedures.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]