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
Properties
Public functions
Extrusion
Extrusion( Area footprint, float minZ, float maxZ )
Extrusion
Extrusion( Area footprint )
An Extrusion
class onstructor. Extrusions constructed from this constructor have no supplied height information.
Details | |||
---|---|---|---|
Parameters |
|
Extrusion
Extrusion( ICollection< Vector2 > vertices, ICollection< int > vertexBreaks, ICollection< int > triangles, float minZ, float maxZ )
An Extrusion
class constructor.
Details | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Parameters |
|
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 |
|
||||
Returns |
A clone of this Extrusion with new MinZ and MaxZ.
|
ToString
override string ToString()