public var_atributes(var_type var_type_name, var_data_type data_type, float scale, float offset) { this.var_type_name = var_type_name; this.data_type = data_type; this.scale = scale; this.offset = offset; }
public List <Cube> getCubes(string context, var_type type) { List <Cube> ret = null; switch (type) { case var_type.AXIS: ret = getCubesByAxis(context); break; case var_type.COLOR: ret = getCubesByColor(context); break; } return(ret); }