public static Double st3Dperimeter ( Geometry geometry ) { if ( geometry == null ) { return null ; } if ( geometry . getDimension ( ) < 2 ) { return 0d ; } return compute3DPerimeter ( geometry ) ; }
Compute the 3D perimeter of a polygon or a multipolygon .