Иллюстрированный самоучитель по Delphi 7 для начинаюших
Последние сообщения эхо-конференции::2012-01-24 ::WatПрекрасная видеопрезентация о неочевидных особенностях Python и JavaScript:
https://www.destroyallsoftware.com/talks/wat
* изначально написано в эхоконференцию Ru.Blog.Mithgol
* также было отослано в эхоконференцию Ru.JavaScript
Фидонет будет великим и гипертекстовым! [Ru.Mozilla] http://Mithgol.Ru/
Mithgol the Webmaster. [Братство Нод] [Team А я меняю subj]
... - И когда они найдут, - сказал маг, - я не знаю, что они с тобой сделают.
... On Mon, 23 Jan 2012 14:11:03 -0800 (PST), PG
wrote:
>Hi,
>
>I have a series of approx. 40 points (x,y) that make up an irregular
>shape.
>
>Is there a simple library / function that I can call that will
>calculate the enclosed area of this shape?
I don"t know of a library, but you can use an algorithm to calculate
the area. I think it"s called Bragg"s algorithm. Maybe not.
Assuming you can describe the polygon as a series of vertices in a
rectangular coordinate system with vertices ... In comp.lang.pascal.delphi.misc message , Mon, 23 Jan 2012 14:11:03, PG
posted:
>Hi,
>
>I have a series of approx. 40 points (x,y) that make up an irregular
>shape.
>
>Is there a simple library / function that I can call that will
>calculate the enclosed area of this shape?
If you can pick one point within or on the edge of the area from which
the points appear everywhere concave (approximate example, the Isle of
Wight - Newport, but not Yarmouth or either side of Cowes), then you can
draw ...
PG wrote:
> On Jan 23, 8:57=A0am, battles wrote:
> > =A0 I have a program that has links to its .exe in several other folder=
s
> > (drag the .exe to another folder while holding down the Shift/Control
> > keys). =A0Upon starting, I need program to determine the folder name of
> > the link that started it. =A0Is there a way to do this?
> >
> > =A0 Thanks.
> >
> >
>
> Hi,
>
> I can"t think of a way to do this specifically but I have a
> workaround. If you include the PATH to the folder con...
PG wrote:
> Hi,
>
> I have a series of approx. 40 points (x,y) that make up an irregular
> shape.
>
> Is there a simple library / function that I can call that will
> calculate the enclosed area of this shape?
>
> TIA.
>
> PG
there is a simple process for that.
Var
Xl,XH, YL, YH, W, H:integer;
PS:Array of TPoints;
R:Trect;
Begin
// Initialize the limits to what ever first.
PS := From where ever these are and assume a 0 base array.
XL := PS[0].X; YL := PS[0].Y; ... battles wrote:
> I have a program that has links to its .exe in several other folders
> (drag the .exe to another folder while holding down the Shift/Control
> keys). Upon starting, I need program to determine the folder name of
> the link that started it. Is there a way to do this?
>
> Thanks.
not sure exactly the order of what you need however, the
Application.FileName or what ever that was, contains the
folder where the EXE is operating from.
Like I said, I am not sure of what you"... On Jan 23, 8:57=A0am, battles wrote:
> =A0 I have a program that has links to its .exe in several other folders
> (drag the .exe to another folder while holding down the Shift/Control
> keys). =A0Upon starting, I need program to determine the folder name of
> the link that started it. =A0Is there a way to do this?
>
> =A0 Thanks.
>
>
Hi,
I can"t think of a way to do this specifically but I have a
workaround. If you include the PATH to the folder containing the
shortcut as a parameter in yo... Hi,
I have a series of approx. 40 points (x,y) that make up an irregular
shape.
Is there a simple library / function that I can call that will
calculate the enclosed area of this shape?
TIA.
PG
... I have a program that has links to its .exe in several other folders
(drag the .exe to another folder while holding down the Shift/Control
keys). Upon starting, I need program to determine the folder name of
the link that started it. Is there a way to do this?
Thanks.
...
Brad Blanchard wrote:
> Battles wrote:
>
> > Thanks, I think I"m sold. From what you are saying, is there some
> > kind of function in XE2 that auto converted your D3 to XE2?
>
> I think what he means is that most of his D3 stuff just compiled without any
> special problems in XE2. That was my experience in going from D7 to D2010.
> However, I wanted to add Unicode to some of my stuff in D2010 and had to change
> a few things. If you want to do so, here"s an article you might find
> interestin...
Архив эхо-конференции Страницы ::1 ::2 ::3 ::4 ::5 ::6
|