dsurf.cartesian

Members

Classes

CartesianSurface
class CartesianSurface

Class CartesianSurface represents regular rectangular-cell surface

Functions

loadFromCps3Ascii
void loadFromCps3Ascii(CartesianSurface surface, string fileName)

Loads surface from file of CPS3 ASCII format

loadFromFile
void loadFromFile(CartesianSurface surface, string fileName)

Loads surface from file trying to detect format automatically

loadFromZmap
void loadFromZmap(CartesianSurface surface, string fileName)

Loads surface from file of ZMap+ ASCII format

sampleFromSurface
void sampleFromSurface(CartesianSurface surface, CartesianSurface source)

Samples height map to surface using height map from the given source

saveToCps3Ascii
void saveToCps3Ascii(CartesianSurface surface, string fileName)

Saves surface to file using CPS3 ASCII format

saveToFile
void saveToFile(CartesianSurface surface, string fileName, string format)

Saves surface to file using specified format

scale
CartesianSurface scale(CartesianSurface surface, double xf, double yf)

Scales the given surface around it's origin point

surfaceFormat
string surfaceFormat(string fileName)

Tries to detect surface format

translate
CartesianSurface translate(CartesianSurface surface, double dx, double dy)

Translates the given surface

Meta