NewLISPers,
I've been brainstorming ideas for a geometry library for NewLISP. (When I can't sleep at night...)
I've jotted some things down on paper, and I'm getting ready to start writing code.
The geometry library will work with 3D entities, and will include the following geometry objects:
Points
MultiPoints
Lines
MultiLines
Polygons
MultiPolygons
3D Faces
3D Solids
3D Composite Solids
TIN Surfaces
LinearNetworks
The library will allow you to do basic geometry operations like:
[1] Scaling
[2] Rotation
[3] Translation
[4] Copying/Duplication
[5] Arraying
And lots of other things like:
- Calculate the slope and vertical difference of a 3D line.
- Determine the percentage of overlapping polygons in a MulitPolygon.
- Calculate the volume of a composite solid.
All of these functions will be available via NewLisp functions.
If you are interested in the development of this library, please let me know. I could use some advice and comments before I invest a lot of time in the design.
Thanks,
The Sunburned Surveyor
Geometry Library For NewLISP
-
- Posts: 28
- Joined: Thu Jan 13, 2005 12:42 am
- Location: California
- Contact:
-
- Posts: 28
- Joined: Thu Jan 13, 2005 12:42 am
- Location: California
- Contact:
Reason for a new geometry library...
pjot and HJH,
Thanks for the suggestions. I may indeed incorporate ideas from other geometry libraries.
However, I am modeling most of my library on concepts in JTS, or the Java Topolgy Suite.
My library will be built primarily for GIS and Surveying applications, although it could be used for other pruposes. This will give the library a unique slant I think.
I would also like to implement some functionality not common to many geometry libraries. My geometry will also include a unique spatial indexing system and persistent XML storage of geometries.
The Sunburned Surveyor
Thanks for the suggestions. I may indeed incorporate ideas from other geometry libraries.
However, I am modeling most of my library on concepts in JTS, or the Java Topolgy Suite.
My library will be built primarily for GIS and Surveying applications, although it could be used for other pruposes. This will give the library a unique slant I think.
I would also like to implement some functionality not common to many geometry libraries. My geometry will also include a unique spatial indexing system and persistent XML storage of geometries.
The Sunburned Surveyor
-
- Posts: 429
- Joined: Tue Nov 11, 2003 2:11 am
- Location: Brisbane, Australia
I've used lisp (CL) to do a little povray ( http://www.povray.org/ the raytracer) programming by manipulating objects (CLOS) corresponding to solids then emiting their details as text into a povray scene file which is then rendered. Being able to export a state as a file for rendering lets you shift
the 3D rendering into a specialised app.
Nigel
the 3D rendering into a specialised app.
Nigel