Package | Description |
---|---|
org.cesiumjs.cs.core | |
org.cesiumjs.cs.scene | |
org.cesiumjs.cs.scene.options |
Modifier and Type | Method and Description |
---|---|
BoundingRectangle |
BoundingRectangle.clone()
Duplicates this BoundingRectangle instance.
|
static BoundingRectangle |
BoundingRectangle.clone(BoundingRectangle rectangle)
Duplicates a BoundingRectangle instance.
|
static BoundingRectangle |
BoundingRectangle.clone(BoundingRectangle rectangle,
BoundingRectangle result)
Duplicates a BoundingRectangle instance.
|
static BoundingRectangle |
BoundingRectangle.expand(BoundingRectangle rectangle,
Cartesian2 point)
Computes a bounding rectangle by enlarging the provided rectangle until it contains the provided point.
|
static BoundingRectangle |
BoundingRectangle.expand(BoundingRectangle rectangle,
Cartesian2 point,
BoundingRectangle result)
Computes a bounding rectangle by enlarging the provided rectangle until it contains the provided point.
|
static BoundingRectangle |
BoundingRectangle.fromPoints(Cartesian2[] positions)
Computes a bounding rectangle enclosing the list of 2D points.
|
static BoundingRectangle |
BoundingRectangle.fromPoints(Cartesian2[] positions,
BoundingRectangle result)
Computes a bounding rectangle enclosing the list of 2D points.
|
static BoundingRectangle |
BoundingRectangle.fromRectangle(Rectangle rectangle,
MapProjection projection)
Computes a bounding rectangle from an rectangle.
|
static BoundingRectangle |
BoundingRectangle.fromRectangle(Rectangle rectangle,
MapProjection projection,
BoundingRectangle result)
Computes a bounding rectangle from an rectangle.
|
static BoundingRectangle |
BoundingRectangle.union(BoundingRectangle left,
BoundingRectangle right)
Computes a bounding rectangle that is the union of the left and right bounding rectangles.
|
static BoundingRectangle |
BoundingRectangle.union(BoundingRectangle left,
BoundingRectangle right,
BoundingRectangle result)
Computes a bounding rectangle that is the union of the left and right bounding rectangles.
|
static BoundingRectangle |
BoundingRectangle.unpack(double[] array)
Retrieves an instance from a packed array.
|
static BoundingRectangle |
BoundingRectangle.unpack(double[] array,
int startingIndex)
Retrieves an instance from a packed array.
|
static BoundingRectangle |
BoundingRectangle.unpack(double[] array,
int startingIndex,
BoundingRectangle result)
Retrieves an instance from a packed array.
|
Modifier and Type | Method and Description |
---|---|
static BoundingRectangle |
BoundingRectangle.clone(BoundingRectangle rectangle)
Duplicates a BoundingRectangle instance.
|
static BoundingRectangle |
BoundingRectangle.clone(BoundingRectangle rectangle,
BoundingRectangle result)
Duplicates a BoundingRectangle instance.
|
boolean |
BoundingRectangle.equals(BoundingRectangle right)
Compares this BoundingRectangle against the provided BoundingRectangle componentwise and returns true if they are equal, false otherwise.
|
static boolean |
BoundingRectangle.equals(BoundingRectangle left,
BoundingRectangle right)
Compares the provided BoundingRectangles componentwise and returns true if they are equal, false otherwise.
|
static BoundingRectangle |
BoundingRectangle.expand(BoundingRectangle rectangle,
Cartesian2 point)
Computes a bounding rectangle by enlarging the provided rectangle until it contains the provided point.
|
static BoundingRectangle |
BoundingRectangle.expand(BoundingRectangle rectangle,
Cartesian2 point,
BoundingRectangle result)
Computes a bounding rectangle by enlarging the provided rectangle until it contains the provided point.
|
static BoundingRectangle |
BoundingRectangle.fromPoints(Cartesian2[] positions,
BoundingRectangle result)
Computes a bounding rectangle enclosing the list of 2D points.
|
static BoundingRectangle |
BoundingRectangle.fromRectangle(Rectangle rectangle,
MapProjection projection,
BoundingRectangle result)
Computes a bounding rectangle from an rectangle.
|
int |
BoundingRectangle.intersect(BoundingRectangle right)
Determines if this rectangle intersects with another.
|
static int |
BoundingRectangle.intersect(BoundingRectangle left,
BoundingRectangle right)
Determines if two rectangles intersect.
|
static double[] |
BoundingRectangle.pack(BoundingRectangle value,
double[] array)
Stores the provided instance into the provided array.
|
static double[] |
BoundingRectangle.pack(BoundingRectangle value,
double[] array,
int startingIndex)
Stores the provided instance into the provided array.
|
static BoundingRectangle |
BoundingRectangle.union(BoundingRectangle left,
BoundingRectangle right)
Computes a bounding rectangle that is the union of the left and right bounding rectangles.
|
static BoundingRectangle |
BoundingRectangle.union(BoundingRectangle left,
BoundingRectangle right,
BoundingRectangle result)
Computes a bounding rectangle that is the union of the left and right bounding rectangles.
|
static BoundingRectangle |
BoundingRectangle.unpack(double[] array,
int startingIndex,
BoundingRectangle result)
Retrieves an instance from a packed array.
|
Modifier and Type | Method and Description |
---|---|
BoundingRectangle |
PostProcessStage.scissorRectangle()
The BoundingRectangle to use for the scissor test.
|
Modifier and Type | Method and Description |
---|---|
void |
Billboard.setImageSubRegion(String id,
BoundingRectangle subRegion)
Uses a sub-region of the image with the given id as the image for this billboard, measured in pixels from the bottom-left.
|
Modifier and Type | Field and Description |
---|---|
BoundingRectangle |
PostProcessStageOptions.scissorRectangle
The rectangle to use for the scissor test.
|
Copyright © 2019. All rights reserved.