fixate_field_nearest_int


Description:

public bool fixate_field_nearest_int (string field_name, int target)

Fixates a Structure by changing the given field to the nearest integer to target that is a subset of the existing field.

Parameters:

this

a Structure

field_name

a field in this

target

the target value of the fixation

Returns:

true if the structure could be fixated