A Polygon is defined by an outer boundary and 0 or more inner boundaries. The boundaries,
in turn, are defined by LinearRings. When a Polygon is extruded, its boundaries
are connected to the ground to form additional polygons, which gives the appearance
of a building or a box. Extruded Polygons use for their color, color
mode, and fill.
Note: In Google Earth, a Polygon with an of clampToGround follows
the great circle; however, a LinearRing (by itself) with an of clampToGround
follows lines of constant latitude.
The for polygons must be specified in counterclockwise order. Polygons
follow the "right-hand rule," which states that if you place the fingers of your
right hand in the direction in which the coordinates are specified, your thumb points
in the general direction of the geometric normal for the polygon. (In 3D graphics,
the geometric normal is used for lighting and points away from the front face of
the polygon.) Since Google Earth fills only the front face of polygons, you will
achieve the desired effect only when the coordinates are specified in the proper
order. Otherwise, the polygon will be gray.
Boolean value. Specifies whether to connect the LineString to the ground. To extrude
a LineString, the altitude mode must be either relativeToGround, relativeToSeaFloor,
or absolute. The vertices in the LineString are extruded toward the center of the
Earth's sphere.
Boolean value. Specifies whether to connect the LinearRing to the ground. To extrude
this geometry, the altitude mode must be either relativeToGround, relativeToSeaFloor,
or absolute. Only the vertices of the LinearRing are extruded, not the center of
the geometry. The vertices are extruded toward the center of the Earth's sphere.
Boolean value. Specifies whether to connect the Polygon to the ground. To extrude
a Polygon, the altitude mode must be either relativeToGround, relativeToSeaFloor,
or absolute. Only the vertices are extruded, not the geometry itself (for example,
a rectangle turns into a box with five faces. The vertices of the Polygon are extruded
toward the center of the Earth's sphere.
Boolean value. Specifies whether to connect the point to the ground with a line.
To extrude a Point, the value for must be either relativeToGround,
relativeToSeaFloor, or absolute. The point is extruded toward the center of the
Earth's sphere.
tessellate
protected java.lang.Boolean tessellate
Boolean value. Specifies whether to allow the LineString to follow the terrain.
To enable tessellation, the altitude mode must be clampToGround or clampToSeaFloor.
Very large LineStrings should enable tessellation so that they follow the curvature
of the earth (otherwise, they may go underground and be hidden).
Boolean value. Specifies whether to allow the LinearRing to follow the terrain.
To enable tessellation, the value for must be clampToGround or clampToSeaFloor.
Very large LinearRings should enable tessellation so that they follow the curvature
of the earth (otherwise, they may go underground and be hidden).
Boolean value. Specifies whether to allow the Polygon to follow the terrain. To
enable tessellation, the Polygon must have an altitude mode of clampToGround or
clampToSeaFloor. Very large Polygons should enable tessellation so that they follow
the curvature of the earth (otherwise, they may go underground and be hidden).
Creates a new instance of Boundary and set it to outerBoundaryIs.
This method is a short version for:
Boundary boundary = new Boundary();
this.setOuterBoundaryIs(boundary);
Creates a new instance of Boundary and adds it to innerBoundaryIs.
This method is a short version for:
Boundary boundary = new Boundary();
this.getInnerBoundaryIs().add(boundary);
setInnerBoundaryIs
public void setInnerBoundaryIs(java.util.List<Boundary> innerBoundaryIs)
Parameters:
innerBoundaryIs -
See Also:
innerBoundaryIs
addToInnerBoundaryIs
public PolygonaddToInnerBoundaryIs(Boundary innerBoundaryIs)
add a value to the innerBoundaryIs property collection
Parameters:
innerBoundaryIs - Objects of the following type are allowed in the list: Boundary
Returns:
true (as general contract of Collection.add).
setPolygonSimpleExtension
public void setPolygonSimpleExtension(java.util.List<java.lang.Object> polygonSimpleExtension)
Parameters:
polygonSimpleExtension -
See Also:
polygonSimpleExtension
addToPolygonSimpleExtension
public PolygonaddToPolygonSimpleExtension(java.lang.Object polygonSimpleExtension)
add a value to the polygonSimpleExtension property collection
Parameters:
polygonSimpleExtension - Objects of the following type are allowed in the list: Object
Returns:
true (as general contract of Collection.add).
setPolygonObjectExtension
public void setPolygonObjectExtension(java.util.List<AbstractObject> polygonObjectExtension)