28 using OpenSim.Region.CoreModules.World.Terrain;
29 using OpenSim.Region.Framework.Interfaces;
44 result =
"Usage: " + GetUsage();
49 result = this.parseParameters(args, out data);
52 if (result ==
String.Empty)
56 data.shape =
"rectangle";
65 if (result ==
String.Empty)
67 this.applyModification(map, data);
76 string val =
"raise <delta> [ -rec=x1,y1,dx[,dy] | -ell=x0,y0,rx[,ry] ] [-taper=<delta2>]"
77 +
"\nRaises all points within the specified range by the specified amount.";
84 double factor = this.computeBevel(data, x, y);
85 double result = map[x, y] + (data.elevation - (data.elevation - data.bevelevation) * factor);
override double operate(double[,] map, TerrainModifierData data, int x, int y)
Apply the appropriate operation on the specified map, at (x, y).
RaiseModifier(ITerrainModule module)
override string ModifyTerrain(ITerrainChannel map, string[] args)
Creates the feature.
override string GetUsage()
Gets a string describing the usage.