src/ccstruct/points.cpp
void FCOORD::from_direction(uint8_t direction) {
  double radians = angle_from_direction(direction);
  xcoord = cos(radians);
  ycoord = sin(radians);
}
// Sets this with a unit vector in the given standard feature direction.
Sets this with a unit vector in the given standard feature direction.
Sets this with a unit vector in the given standard feature direction .
void FCOORD::from_direction(uint8_t direction) {
  double radians = angle_from_direction(direction);
  xcoord = cos(radians);
  ycoord = sin(radians);
}
void FCOORD :: from_direction ( uint8_t direction ) { double radians = angle_from_direction ( direction ) ; xcoord = cos ( radians ) ; ycoord = sin ( radians ) ; }
Sets this with a unit vector in the given standard feature direction.
Sets this with a unit vector in the given standard feature direction .