OESetSurfacePotentials

OESetSurfacePotentials(surf: OESurface, grid: OEScalarGrid) -> bool

Linearly interpolates the values in the OEScalarGrid grid onto the surface surf. The scalar value associated with each vertex can then be accessed using the OESurface.GetPotential and OESurface.GetPotentialElement methods.