Skip to content
Prev 3813 / 29559 Next

API documentation?

On Mon, 30 Jun 2008, David Hugh-Jones wrote:

            
This is an inherent (and perhaps ugly) characteristic of the S4 
object/class structure as you suggest below. New style classes are not as 
well integrated into the documentation as straight functions are. Here, 
coerce is as(), but the issue of how to improve documentation is not 
resolved.
No, because the underlying understanding of dp and other methods for 
thinning is that the objects implement an arc-node topological model, so 
that each arc can be thinned without different thinning happening on 
otherwise identical boundaries of neighbouring polygons. But we do not 
have an arc-node representation, so there cannot be line thinning for 
polygon boundaries in a spaghetti world.
You need to build topology first, so if need be take the data out to a GIS 
that does topology properly, do the arc line thinning there, and bring it 
back in. Building topology from a stream of straight line segments is a 
serious challenge, especially if you want to retain the association with 
attribute data.

Roger