C# Class Landis.Extension.BaseHarvest.AgeRange

A range of cohort ages.
Afficher le fichier Open project: LANDIS-II-Foundation/Extensions-Disturbance Class Usage Examples

Méthodes publiques

Méthode Description
AgeRange ( ushort start, ushort end )
AgeRange ( ushort start, ushort end ) : Landis.Library.AgeOnlyCohorts
Contains ( ushort age ) : bool

Does the range contain a particular age?

Overlaps ( AgeRange other ) : bool

Does the range overlap another range?

Method Details

AgeRange() public méthode

public AgeRange ( ushort start, ushort end )
start ushort
end ushort

AgeRange() public méthode

public AgeRange ( ushort start, ushort end ) : Landis.Library.AgeOnlyCohorts
start ushort
end ushort
Résultat Landis.Library.AgeOnlyCohorts

Contains() public méthode

Does the range contain a particular age?
public Contains ( ushort age ) : bool
age ushort
Résultat bool

Overlaps() public méthode

Does the range overlap another range?
public Overlaps ( AgeRange other ) : bool
other AgeRange
Résultat bool