Has MATLAB implemented a polygon offset function?
22 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi! I have 2D CMM data mapping the inside of a pipe at a plane of interest prior to coating and coating thickness measurements at various points inside the pipe. I want to plot the CMM data, offset each wall of the pipe by its corresponding thickness, and use the offset data to calculate the coated cross-sectional area of the pipe (see diagram below). Is there a simple way to do this? If not, does MATLAB have a built-in function to offset the data by a uniform thickness (similarly to CAD software)?
Thanks!
0 Kommentare
Antworten (1)
Matt J
am 8 Jan. 2021
Bearbeitet: Matt J
am 8 Jan. 2021
Sounds like you could do that with polybuffer
and polyshape.area()
2 Kommentare
Steven Lord
am 13 Jan. 2021
Can you share a small sample of data with which you can reproduce this behavior? Please include either a data set that's small enough to include as text in a comment or a small MAT-file as an attachment to a comment.
Siehe auch
Kategorien
Mehr zu Elementary Polygons finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!