[geos-devel] About LineSegment and its shifting

strk at refractions.net strk at refractions.net
Fri Apr 29 13:05:45 EDT 2005


On Fri, Apr 29, 2005 at 09:01:13PM +0400, nil5-ksa wrote:
> Hi, all
> 
> I have one LineSegment. And I want to get another LineSegment with points, that calculates with next algorithm.
> I create two perpendiculars to my LineString in its end points. Both perpendiculars have same and fixed length. 
> Resulting LineString have coordinates given by this algorithm.
>  
> Are there in GEOS any abilities to create this LineString?
> 
> Sergey Karin

It is possible, but I don't know if the resulting LineString
is simple in OGC terms. It takes 6 points for how I see it.

--strk;



More information about the geos-devel mailing list