C# Class Landis.Harvest.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 ) : 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 method

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

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