Closed bischrob closed 5 years ago
from Momocs:::coo_length.default
that leads to Momocs:::coo_lw.default
you can see that there is an align step and this may lead to the confusion here? What is returned by coo_length/coo_lw
is actually "measured" using range
on this shape:
which may be troublesome with bilateral shapes. Perhaps you may want to try ?coo_calliper
, or set landmarks and then use ?d
Thank you for your response. I didn't see the align step in the underlying code, and I was trying to get the length as I had oriented the object.
I can't figure out how the length of this outline is calculated. The length should be 30.9, but coo_length shows it as 33.4. Most of the outlines I've checked are correct. Here's a reproducible example.