public bool Check(float angleFromEquator, float height, float sunAngleFromZenith)
 {
     return(Latitude.ValueBetween(angleFromEquator) && Height.ValueBetween(height) && SunAngleFromZenith.ValueBetween(sunAngleFromZenith));
 }
 /**
  * Check that a rule matches terrain properties.
  *
  * @param height Height ration to the height map.
  * @param latitude Latitude cosine
  * @param slope Surface dominant angle sine.
  */
 public bool Check(float height, float latitude, float longitude, float slope)
 {
     return(Height.ValueBetween(height) && Latitude.ValueBetween(latitude) && Longitude.ValueBetween(longitude) &&
            Slope.ValueBetween(slope));
 }