29 using OpenSim.Region.CoreModules.World.Terrain;
30 using OpenSim.Region.Framework.Interfaces;
46 result =
"Usage: " + GetUsage();
51 result = this.parseParameters(args, out data);
54 if (result ==
String.Empty)
58 data.shape =
"rectangle";
67 if (result ==
String.Empty)
69 this.applyModification(map, data);
78 string val =
"fill <height> [ -rec=x1,y1,dx[,dy] | -ell=x0,y0,rx[,ry] ] [-taper=<height2>]"
79 +
"\nSets all points within the specified range to the specified value.";
85 double factor = this.computeBevel(data, x, y);
86 double result = 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).
override string ModifyTerrain(ITerrainChannel map, string[] args)
Creates the feature.
FillModifier(ITerrainModule module)
override string GetUsage()
Gets a string describing the usage.
Interactive OpenSim region server