add function getTypeArcLength