Author Topic: Geometry problem: length of segments knowing the area, perimeter and width  (Read 8386 times)

0 Members and 1 Guest are viewing this topic.

Marc'Antonio Alessi

  • Swamp Rat
  • Posts: 1451
  • Marco
I have a polyline that I know:
area         = 1512499.7 ...
perimeter = 12600
width of the track = 250 (in the example)

Is it possible calculate the total length of the segments?
(as in the picture: 3000+1000+950+1100 = 6050)


irneb

  • Water Moccasin
  • Posts: 1794
  • ACad R9-2016, Revit Arch 6-2016
It's possible to calculate mathematically, but for one thing: Your dimensions are inconsistent as to what they measure. E.g. that "700" long piece is actually ... what ... 700+250?
Common sense - the curse in disguise. Because if you have it, you have to live with those that don't.

ribarm

  • Gator
  • Posts: 3257
  • Marko Ribar, architect
Total length = Total area / width = 1512499.7 / 250.0 = 6049.9988 ~ 6050 = 3000 + 1000 + (700+250) + 1100
Marko Ribar, d.i.a. (graduated engineer of architecture)

:)

M.R. on Youtube

tombu

  • Bull Frog
  • Posts: 289
  • ByLayer=>Not0
You are looking to select segments of a polyline and total the lengths of those segments?
Tom Beauford P.S.M.
Leon County FL Public Works - Windows 7 64 bit AutoCAD Civil 3D

Marc'Antonio Alessi

  • Swamp Rat
  • Posts: 1451
  • Marco
It's possible to calculate mathematically, but for one thing: Your dimensions are inconsistent as to what they measure. E.g. that "700" long piece is actually ... what ... 700+250?
I'm sorry, you're absolutely right (i have altered the image) here are other examples:

Marc'Antonio Alessi

  • Swamp Rat
  • Posts: 1451
  • Marco
Total length = Total area / width = 1512499.7 / 250.0 = 6049.9988 ~ 6050 = 3000 + 1000 + (700+250) + 1100
Yes, I did not think it was that simple, I hope that there are no exceptions...
Grazie mille.

Marc'Antonio Alessi

  • Swamp Rat
  • Posts: 1451
  • Marco
Re: Geometry problem: length of segments knowing the area, perimeter and width
« Reply #6 on: November 21, 2014, 08:54:37 AM »
New question: is  there a way to calculate the maximum lenght of the profile as in the examples A and B?

roy_043

  • Water Moccasin
  • Posts: 1895
  • BricsCAD 18
Re: Geometry problem: length of segments knowing the area, perimeter and width
« Reply #7 on: November 21, 2014, 09:15:07 AM »
Why isn't the max. length of A: 3000+1000+250+1200+1100=6550?

ribarm

  • Gator
  • Posts: 3257
  • Marko Ribar, architect
Re: Geometry problem: length of segments knowing the area, perimeter and width
« Reply #8 on: November 21, 2014, 09:23:51 AM »
Why isn't the max. length of A: 3000+1000+250+1200+1100=6550?

Roy, probably thought :
Why isn't the max. length of A: 3000+750+250+1200+1100=6300?
Marko Ribar, d.i.a. (graduated engineer of architecture)

:)

M.R. on Youtube

Bethrine

  • Guest
Re: Geometry problem: length of segments knowing the area, perimeter and width
« Reply #9 on: November 21, 2014, 09:29:29 AM »
A: 3000+1000+(1200-250)+1100=6050


ribarm

  • Gator
  • Posts: 3257
  • Marko Ribar, architect
Re: Geometry problem: length of segments knowing the area, perimeter and width
« Reply #10 on: November 21, 2014, 09:40:05 AM »
Why isn't the max. length of A: 3000+1000+250+1200+1100=6550?

Roy, probably thought :
Why isn't the max. length of A: 3000+750+250+1200+1100=6300?

I think the answer is : How can center polylines length be the same as those that are offset by half the width (250/2=125) ? Simply it can't be the same length - those polylines aren't colinear - they are curving in all 4 orthogonal ways (+X,-X,+Y,-Y)...
Marko Ribar, d.i.a. (graduated engineer of architecture)

:)

M.R. on Youtube

Bethrine

  • Guest
Re: Geometry problem: length of segments knowing the area, perimeter and width
« Reply #11 on: November 21, 2014, 10:03:25 AM »
 :?

I am not a programmer. I found it interesting as a math problem. Feel free to ignore me!  :-)

Marc'Antonio Alessi

  • Swamp Rat
  • Posts: 1451
  • Marco
Re: Geometry problem: length of segments knowing the area, perimeter and width
« Reply #12 on: November 21, 2014, 10:40:29 AM »
I asked the question too early and without considering well: is a matter for the calculation of square tubing to build the figure, is a question that I was asked but I think that the calculation of the other figures is not correct. I think the request is just to know the total length of pipe required.

So in the example top/left the length is: 1160+1050+750 = 3000

@roy_043 > Why isn't the max. length of A: 3000+1000+250+1200+1100=6550?
        maybe this is the exact calculation  A: 3000+1000+500+1200+1100=6800

Now ask other explanations.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Geometry problem: length of segments knowing the area, perimeter and width
« Reply #13 on: November 21, 2014, 10:49:37 AM »
Do you intend on making miter joints or butt joints?
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

owenwengerd

  • Bull Frog
  • Posts: 451
Re: Geometry problem: length of segments knowing the area, perimeter and width
« Reply #14 on: November 21, 2014, 12:08:12 PM »
I think the request is just to know the total length of pipe required.

In that case the solution is very simple: calculate total enclosed area of the figure divided by width of the tubing.