The Cover type exposes the following members.

Constructors

  NameDescription
Public methodCover(Region)
Create a Cover object with the given Region, and initialize the internal cover machine.
Public methodCover(Region, Boolean)
Create a Cover object with the given Region, and initialize the internal cover machine.

Methods

  NameDescription
Public methodCost
Compute the cost in resources in the current state of the Cover object.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetPairs
Get the covermap as a list of level 20 HtmID (start, end) pairs from the machine in the current state
Public methodGetPseudoArea
Compute the pseudoarea of selected part of the covermap
Public methodGetTriples
Get the covermap as a list of level 20 HtmID (start, end, flag) triples from the current state of the machine The partial and inner trixels are treated separately The flag indicates whether the (start, end) portion of the triple is from partial or inner trixels.
Public methodGetTrixels
Get the covermap as list of trixels the machine in the current state.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberHidList
Convenience wrapper for a one step cover generation.
Public methodStatic memberHidRange
Static helper function does one-step cover initialization and returns HtmID pairs. Implicitly creates an instance of Cover but discards it at the end, only the list of pairs is returned to the caller.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberPseudoArea(Int64)
Compute the PseudoArea (number of level-20 trixels) of the given trixel.
Public methodStatic memberPseudoArea(Hidranges)
Compute the PseudoArea (number of level 20 trixels) of the given region.
Public methodRun
Run this cover machine until completion.
Public methodSetTunables
Change the tunable parameters for the generation of the covermap
Public methodStep
Step this machine to the next level.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyGetLevel
Return the current level of trixels in the current state of the covermap. Levels run from 0 to 24.
Public propertyGetMaxLevel
Get the current maximum level in effect
Public propertyGetRegion
Get the Region object associated with this Cover.

See Also