Google.Maps.Feature.Shape.ExtrudedArea.Extrusion

A footprint together with base and top heights.

Summary

Constructors and Destructors

Extrusion(Area footprint, float minZ, float maxZ)
An Extrusion class onstructor.
Extrusion(Area footprint)
An Extrusion class onstructor. Extrusions constructed from this constructor have no supplied height information.
Extrusion(ICollection< Vector2 > vertices, ICollection< int > vertexBreaks, ICollection< int > triangles, float minZ, float maxZ)
An Extrusion class constructor.

Public attributes

FootPrint
readonly Area
The extrusion's footprint.
MaxZ
readonly float
The height of the Extrusion's top.
MinZ
readonly float
The height of the Extrusion's base.

Properties

Height
float
The height of the Extrusion.

Public functions

GetBounds()
Bounds
Gets a bounding box for all of the geometry represented by this object.
ShallowCloneWithMinMaxZ(float minZ, float maxZ)
Creates a clone of this Extrusion, sharing a reference to this Extrusion's Footprint, but with modified MinZ and MaxZ values.
ToString()
override string

Public attributes

FootPrint

readonly Area FootPrint

The extrusion's footprint.

MaxZ

readonly float MaxZ

The height of the Extrusion's top.

MinZ

readonly float MinZ

The height of the Extrusion's base.

Properties

Height

float Height

The height of the Extrusion.

Public functions

Extrusion

 Extrusion(
  Area footprint,
  float minZ,
  float maxZ
)

An Extrusion class onstructor.

Details
Parameters
footprint
Footprint of the extrusion.
minZ
Altitude of the Extrusion's base.
maxZ
Altitude of the Extrusion's top.

Extrusion

 Extrusion(
  Area footprint
)

An Extrusion class onstructor. Extrusions constructed from this constructor have no supplied height information.

Details
Parameters
footprint
The footprint of the extrusion.

Extrusion

 Extrusion(
  ICollection< Vector2 > vertices,
  ICollection< int > vertexBreaks,
  ICollection< int > triangles,
  float minZ,
  float maxZ
)

An Extrusion class constructor.

Details
Parameters
vertices
The vertices that make up the Extrusion's footprint.
vertexBreaks
The footprint's vertices separated into discrete intervals, with each one describing an individual polygon.
triangles
A collection of integer-triples that make up the footprint's triangles. Each integer is an index into the supplied collection of vertices.
minZ
The height of the Extrusion's base.
maxZ
The height of the Extrusion's top.

GetBounds

Bounds GetBounds()

Gets a bounding box for all of the geometry represented by this object.

ShallowCloneWithMinMaxZ

Extrusion ShallowCloneWithMinMaxZ(
  float minZ,
  float maxZ
)

Creates a clone of this Extrusion, sharing a reference to this Extrusion's Footprint, but with modified MinZ and MaxZ values.

Details
Parameters
minZ
The new MinZ value for the clone.
maxZ
New MaxZ value for the clone.
Returns
A clone of this Extrusion with new MinZ and MaxZ.

ToString

override string ToString()