Rasterizes the current triangulation based on a user-defined arbitrary raster in the xy-plane.

Namespace:  ceometric.ComputationalGeometry
Assembly:  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.
If a raster point lies outside the convex hull of the initial triangulation, the Z-coordinate will be set to defaultZ

Exceptions

ExceptionCondition
System..::.InvalidOperationExceptionA valid triangulation does not exist. Compute the triangulation before.

See Also