T O P I C R E V I E W |
wealsh |
Posted - Nov 17 2018 : 10:34:17 How to calculate? like this:
|
7 L A T E S T R E P L I E S (Newest First) |
wealsh |
Posted - Nov 19 2018 : 02:39:16 thanks~~ |
xequte |
Posted - Nov 19 2018 : 02:07:55 Area := PI * W * H / 4; perim := 2 * PI * SqRt(( Sqr( w / 2 ) + Sqr( h / 2 )) / 2 );
Nigel Xequte Software www.imageen.com
|
wealsh |
Posted - Nov 19 2018 : 01:49:58 https://www.mathsisfun.com/geometry/ellipse-perimeter.html https://stackoverflow.com/questions/8433443/modify-a-formula-from-calculating-around-a-circle-to-around-an-oval
delphi can do that ? |
wealsh |
Posted - Nov 18 2018 : 21:31:30 ImageEnVect1.GetObjRect(hobj, r);
if (ImageEnVect1.ObjKind[hobj] = iekELLIPSE) then begin w:= Trunc((r.Right - r.Left)); h:= Trunc((r.Bottom - r.Top)); end |
xequte |
Posted - Nov 18 2018 : 14:11:42 What input values do you have? Ellipse width and height?
Nigel Xequte Software www.imageen.com
|
wealsh |
Posted - Nov 18 2018 : 02:49:24 hello I'm sorry, I don't know much English. Look at the picture. This is the oval
|
xequte |
Posted - Nov 17 2018 : 17:45:07 Hi
Are fairly close approximation is:
perim := 2 * PI * SqRt(( Sqr( w / 2 ) + Sqr( h / 2 )) / 2 );
Nigel Xequte Software www.imageen.com
|