LinearRing2D function ( ) { Point2D loc0 [ ] = new Point2D [ 4 ] ; loc0 [ 0 ] = new Point2D ( x0 , y0 ) ; loc0 [ 1 ] = new Point2D ( x0 + w , y0 ) ; loc0 [ 2 ] = new Point2D ( x0 + w , y0 + h ) ; loc0 [ 3 ] = new Point2D ( x0 , y0 + h ) ; return new LinearRing2D ( loc0 ) ; }
returns the ring that constitute the boundary of this rectangle . concode_field_sep double y0 concode_elem_sep double w concode_elem_sep double x0 concode_elem_sep double h concode_field_sep void insertVertex concode_elem_sep CirculinearContourArray2D<LinearRing2D> boundary concode_elem_sep Box2D boundingBox concode_elem_sep Point2D vertex concode_elem_sep double distance concode_elem_sep double distance concode_elem_sep Collection<Point2D> vertices concode_elem_sep int edgeNumber concode_elem_sep double getWidth concode_elem_sep void setVertex concode_elem_sep double getHeight concode_elem_sep CirculinearDomain2D transform concode_elem_sep SimplePolygon2D transform concode_elem_sep int closestVertexIndex concode_elem_sep CirculinearDomain2D buffer concode_elem_sep Polygon2D complement concode_elem_sep int vertexNumber concode_elem_sep double area concode_elem_sep void removeVertex concode_elem_sep Collection<LineSegment2D> edges concode_elem_sep boolean isEmpty concode_elem_sep void draw concode_elem_sep void fill concode_elem_sep Collection<LinearRing2D> contours concode_elem_sep boolean almostEquals concode_elem_sep boolean isBounded concode_elem_sep double getX concode_elem_sep boolean contains concode_elem_sep boolean contains concode_elem_sep double getY concode_elem_sep Polygon2D asPolygon concode_elem_sep Point2D centroid concode_elem_sep boolean equals concode_elem_sep void addVertex concode_elem_sep Polygon2D clip