Hi,
thank you, I will definitely try your approach.
By the way, the first drawing was partially wrong, it showed the “parametric 
width” on the wrong side.
Here is the fixed one:
http://imageshack.us/photo/my-images/34/unledgxq.jpg/
I’ll let you know, thank you
Errico








On Fri, Jul 22, 2011 at 9:28 PM, Oleksandr Huziy <[email protected]> wrote:
> Hi,
>
> I would do it as follows.
> 1. define Affine transform to the plane where your target rectangle
> has axes parallel to the coordinate axes (actually in the example I also
> made the transformed rectangle to be of width=1 and height=1, and the lower
> left corner to coinside with the origin of the coordinate system).
> 2. then using the inverse get the rectangle on original plane
>
> see attached file.
> --
> Oleksandr
>
>
> 2011/7/22 Errico Demly Chirulli <[email protected]>
>>
>> Hi,
>> I need to build a geometry object, it requires some complex operation
>> and I'm a bit lost in the API so I'm asking here to find if someone
>> more experienced with GT can help.
>> I start with two points.
>> I need to build a Rectangle with these two points being at the center
>> of two opposite sides.
>> So the two points define one of the two dimensions(let's call it
>> "height"), the other one (the "width") is from a known parameter.
>> Here is a bad drawing of what I need to do :
>> http://imageshack.us/photo/my-images/204/unledgxq.jpg/
>> Thank you
>> Errico
>>
>>
>> ------------------------------------------------------------------------------
>> 10 Tips for Better Web Security
>> Learn 10 ways to better secure your business today. Topics covered
>> include:
>> Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
>> security Microsoft Exchange, secure Instant Messaging, and much more.
>> http://www.accelacomm.com/jaw/sfnl/114/51426210/
>> _______________________________________________
>> Geotools-gt2-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
>
------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to