measure for curved porch rail

how to measure a curved porch railing