Skip to main content
added 1 character in body
Source Link
cvgmt
  • 84.1k
  • 6
  • 97
  • 179
  • MeshFunctions -> {"ArcLength"} partly work.
poly = RandomPolygon[10];
plot=ListLinePlot[Append[#, First@#] &@poly[[1]], 
 MeshFunctions -> {0 &, "ArcLength"}, Mesh -> {Subdivide@10}, 
 MeshStyle -> Red, Epilog -> {Opacity[.2], poly}, Axes -> False]
pts ==Cases[plot Cases[plot// Normal, Point[p_] :> p, -1] // Rest // DeleteDuplicates

enter image description here

  • MeshFunctions -> {"ArcLength"} partly work.
poly = RandomPolygon[10];
plot=ListLinePlot[Append[#, First@#] &@poly[[1]], 
 MeshFunctions -> {0 &, "ArcLength"}, Mesh -> {Subdivide@10}, 
 MeshStyle -> Red, Epilog -> {Opacity[.2], poly}, Axes -> False]
pts = Cases[plot, Point[p_] :> p, -1] // Rest // DeleteDuplicates

enter image description here

  • MeshFunctions -> {"ArcLength"} partly work.
poly = RandomPolygon[10];
plot=ListLinePlot[Append[#, First@#] &@poly[[1]], 
 MeshFunctions -> {0 &, "ArcLength"}, Mesh -> {Subdivide@10}, 
 MeshStyle -> Red, Epilog -> {Opacity[.2], poly}, Axes -> False]
pts =Cases[plot // Normal, Point[p_] :> p, -1] // DeleteDuplicates

enter image description here

added 82 characters in body
Source Link
cvgmt
  • 84.1k
  • 6
  • 97
  • 179
  • MeshFunctions -> {"ArcLength"} partly work.
poly = RandomPolygon[10];
ListLinePlot[Append[#plot=ListLinePlot[Append[#, First@#] &@poly[[1]], 
 MeshFunctions -> {0 &, "ArcLength"}, Mesh -> {Subdivide@10}, 
 MeshStyle -> Red, Epilog -> {Opacity[.2], poly}, Axes -> False]
pts = Cases[plot, Point[p_] :> p, -1] // Rest // DeleteDuplicates

enter image description here

  • MeshFunctions -> {"ArcLength"} partly work.
poly = RandomPolygon[10];
ListLinePlot[Append[#, First@#] &@poly[[1]], 
 MeshFunctions -> {0 &, "ArcLength"}, Mesh -> {Subdivide@10}, 
 MeshStyle -> Red, Epilog -> {Opacity[.2], poly}, Axes -> False]

enter image description here

  • MeshFunctions -> {"ArcLength"} partly work.
poly = RandomPolygon[10];
plot=ListLinePlot[Append[#, First@#] &@poly[[1]], 
 MeshFunctions -> {0 &, "ArcLength"}, Mesh -> {Subdivide@10}, 
 MeshStyle -> Red, Epilog -> {Opacity[.2], poly}, Axes -> False]
pts = Cases[plot, Point[p_] :> p, -1] // Rest // DeleteDuplicates

enter image description here

deleted 114 characters in body
Source Link
cvgmt
  • 84.1k
  • 6
  • 97
  • 179
  • MeshFunctions -> {"ArcLength"} partly work but missing one point.
poly = RandomPolygon[10];
arclength = ArcLength[RegionBoundary@poly]
Show[Graphics[poly], 
 ListPlot[Append[#ListLinePlot[Append[#, First@#] &@poly[[1]], Joined -> True, 
  MeshFunctions -> {0 &, "ArcLength"}, Mesh -> 10{Subdivide@10}, 
  MeshStyle -> {Red, AbsolutePointSize[10]}, 
  MethodEpilog -> {"BoundaryOffset"Opacity[.2], poly}, Axes -> False}]]False]

enter image description hereenter image description here

  • MeshFunctions -> {"ArcLength"} partly work but missing one point.
poly = RandomPolygon[10];
arclength = ArcLength[RegionBoundary@poly]
Show[Graphics[poly], 
 ListPlot[Append[#, First@#] &@poly[[1]], Joined -> True, 
  MeshFunctions -> {"ArcLength"}, Mesh -> 10, 
  MeshStyle -> {Red, AbsolutePointSize[10]}, 
  Method -> {"BoundaryOffset" -> False}]]

enter image description here

  • MeshFunctions -> {"ArcLength"} partly work.
poly = RandomPolygon[10];
ListLinePlot[Append[#, First@#] &@poly[[1]], 
 MeshFunctions -> {0 &, "ArcLength"}, Mesh -> {Subdivide@10}, 
 MeshStyle -> Red, Epilog -> {Opacity[.2], poly}, Axes -> False]

enter image description here

added 160 characters in body
Source Link
cvgmt
  • 84.1k
  • 6
  • 97
  • 179
Loading
Source Link
cvgmt
  • 84.1k
  • 6
  • 97
  • 179
Loading