C# Class Landis.Harvest.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 ) : Landis.AgeCohort
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 ) : Landis.AgeCohort
start ushort
end ushort
Résultat Landis.AgeCohort

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