gets a linestring which is a minimum diameter concode_field_sep LineSegment minBaseSeg concode_elem_sep Coordinate minWidthPt concode_elem_sep Coordinate[] convexHullPts concode_elem_sep int minPtIndex concode_elem_sep double minWidth concode_elem_sep boolean isConvex concode_elem_sep Geometry inputGeom concode_field_sep void computeWidthConvex concode_elem_sep int findMaxPerpDistance concode_elem_sep void computeConvexRingMinDiameter concode_elem_sep void computeMinimumDiameter concode_elem_sep LineSegment computeSegmentForLine concode_elem_sep Coordinate getWidthCoordinate concode_elem_sep LineString getSupportingSegment concode_elem_sep Geometry getMinimumRectangle concode_elem_sep double computeC concode_elem_sep double getLength concode_elem_sep int nextIndex
LineString function ( ) { computeMinimumDiameter ( ) ; if ( minWidthPt == null ) return inputGeom . getFactory ( ) . createLineString ( ( Coordinate [ ] ) null ) ; Coordinate loc0 = minBaseSeg . project ( minWidthPt ) ; return inputGeom . getFactory ( ) . createLineString ( new Coordinate [ ] { loc0 , minWidthPt } ) ; }