You are here: Start » AVL.NET » Function Reference » Point3DGrid » Point3DGrid Spatial Transforms » AVL.JoinPoint3DGrids

AVL.JoinPoint3DGrids

Combines two point grids into one.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void JoinPoint3DGrids
(
	AvlNet.Point3DGrid inPoint3DGrid1,
	AvlNet.Point3DGrid inPoint3DGrid2,
	AvlNet.Point3DGrid outPoint3DGrid
)

Parameters

Name Type Range Default Description
inPoint3DGrid1AvlNet.Point3DGrid
inPoint3DGrid2AvlNet.Point3DGrid
outPoint3DGridAvlNet.Point3DGrid

Description

The operation adds points from the second input grid to the first one, increasing the grid's dimensions if necessary. The inDeltaX and inDeltaY parameters determine the offsets added to indices of the second grid. The second grid's points will never overwrite points from the first grid, so if both grids have same dimensions and both inDeltaX and inDeltaY equal 0, no point from the second grid will be added. If inDeltaX is set to Nil, the width of the first input grid is chosen. Similarly, if inDeltaY is set to Nil, the height of the first input grid is chosen as the offset.

If the intention is to keep all points from both input grids, one of the offsets should be set to Nil.

Function Overrides

See also