C# Class Landis.Extension.BaseHarvest.AgeRange

A range of cohort ages.
Show file Open project: LANDIS-II-Foundation/Extensions-Disturbance Class Usage Examples

Public Methods

Method 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 method

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

AgeRange() public method

public AgeRange ( ushort start, ushort end ) : Landis.Library.AgeOnlyCohorts
start ushort
end ushort
return Landis.Library.AgeOnlyCohorts

Contains() public method

Does the range contain a particular age?
public Contains ( ushort age ) : bool
age ushort
return bool

Overlaps() public method

Does the range overlap another range?
public Overlaps ( AgeRange other ) : bool
other AgeRange
return bool