Rasterizes the current triangulation based on a user-defined arbitrary raster in the xy-plane.
Namespace:
ceometric.ComputationalGeometryAssembly: ceometric.ComputationalGeometry (in ceometric.ComputationalGeometry.dll) Version: 2.4.0.0 (2.4.0.0)
Syntax
C# |
---|
public void RasterizeCurrentTriangulation( PointSet raster, double defaultZ ) |
Visual Basic (Declaration) |
---|
Public Sub RasterizeCurrentTriangulation ( _ raster As PointSet, _ defaultZ As Double _ ) |
Visual C++ |
---|
public: void RasterizeCurrentTriangulation( PointSet^ raster, double defaultZ ) |
Parameters
- raster
- Type: ceometric.VectorGeometry..::.PointSet
A user-defined raster.
- defaultZ
- Type: System..::.Double
The default z-value if a z-value can not be interpolated.
Remarks
Rasterizing a existing triangulation means:
- Find the z-coordinate for each point on the raster by interpolating the existing triangulation.
- Triangulate the raster.
Exceptions
Exception | Condition |
---|---|
System..::.InvalidOperationException | A valid triangulation does not exist. Compute the triangulation before. |