public class JsiAndJts extends Object
| Constructor and Description |
|---|
JsiAndJts()
|
| Modifier and Type | Method and Description |
|---|---|
static Envelope |
toEnvelope(Rectangle
Convert an Envelope to a Rectangle
|
static Polygon |
toGeometry(Rectangle
Convert a rectangle to a polygon.
|
static Rectangle |
toRectangle(Envelope
Convert a Rectangle to an Envelope
|
static Rectangle |
toRectangle(Geometry
Retrieve a geometry's bounding box as a Rectangle.
|
static Rectangle |
toRectangle(LineSegment
Retrieve a line segment's bounding box as a Rectangle.
|
public static RectangletoRectangle(Envelope envelope)
envelope - the envelope to convert to a rectangle.
public static EnvelopetoEnvelope(Rectangle rectangle)
rectangle - the rectangle to convert to an envelope.
public static RectangletoRectangle(Geometry geometry)
geometry - the geometry to get the bounding box of.
public static RectangletoRectangle(LineSegment segment)
segment - the segment to get the bounding box of.