You are here: Start » AVL.NET » Function Reference » Surface » Surface Basics » AVL.ArrangePoint3DGrid

AVL.ArrangePoint3DGrid

Creates a surface structure from Point3DGrid taking into account X and Y coordinates.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void ArrangePoint3DGrid
(
	AvlNet.Point3DGrid inPoint3DGrid,
	AvlNet.ValueLimits_f64 inXLimits,
	double inXScale,
	AvlNet.ValueLimits_f64 inYLimits,
	double inYScale,
	AvlNet.ValueLimits_f64 inZLimits,
	double inZOffset,
	double inZScale,
	AvlNet.PlainType inPointType,
	AvlNet.SurfaceMultipointHeight inMultipointHeight,
	AvlNet.Surface outSurface,
	NullableValue<double> outMinX,
	NullableValue<double> outMinY
)

Parameters

Name Type Range Default Description
inPoint3DGridAvlNet.Point3DGrid
inXLimitsAvlNet.ValueLimits_f64
inXScaledouble<0.000001, INF>1.0DDefault value: 1.0D.
inYLimitsAvlNet.ValueLimits_f64
inYScaledouble<0.000001, INF>1.0DDefault value: 1.0D.
inZLimitsAvlNet.ValueLimits_f64
inZOffsetdouble
inZScaledouble<0.000001, INF>1.0DDefault value: 1.0D.
inPointTypeAvlNet.PlainTypeInt16Type of single point Z coordinate. Default value: Int16.
inMultipointHeightAvlNet.SurfaceMultipointHeightMeanDetermines the Z coordinate of a surface point created from more than one point. Default value: Mean.
outSurfaceAvlNet.Surface
outMinXAvlNet.NullableValue<double> Can be null to skip this parameter calculation.
outMinYAvlNet.NullableValue<double> Can be null to skip this parameter calculation.

Description

The operation creates a surface object basing on the input point 3D grid. The X and Y coordinates of the output surface object points are very regular, so the whole output object has neatly organized structure. Internally, the XY plane is divided into rectangular tiles with dimensions equal to inXScale and inYScale. Each tile will represent one output surface point. The point is computed as an average of all points from the input grid that are located in the corresponding tile. If none of the input grid points is present in a tile, the output point for such a tile is indefinite and set to the point in infinity.

Examples

Input Point3DGrid.

Output Surface.

ArrangePoint3DGrid performed on a sample point grid.

Errors

List of possible exceptions:

Error type Description
DomainError Empty point grid in ArrangePoint3DGrid.

Function Overrides

See also