You are here: Start » AVL.NET » Function Reference » System » Interoperability » AVL.LoadSurfaceWithImage

AVL.LoadSurfaceWithImage

Loads entities from a file of one of available types as an array of points in 3D and an image. Assumes an unordered grid with possible holes.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void LoadSurfaceWithImage
(
	string inFile,
	AvlNet.Point3DFileFormat inFileFormat,
	double inXScale,
	AvlNet.ValueLimits_f64 inXLimits,
	double inYScale,
	AvlNet.ValueLimits_f64 inYLimits,
	double inZOffset,
	double inZScale,
	AvlNet.PlainType inPointType,
	AvlNet.SurfaceMultipointHeight inMultipointHeight,
	AvlNet.Pixel inBackgroundColor,
	AvlNet.Surface outSurface,
	AvlNet.Image outImage,
	NullableValue<double> outMinX,
	NullableValue<double> outMinY,
	AvlNet.Region diagSurfaceValidPointsRegion
)

Parameters

Name Type Range Default Description
inFilestring
inFileFormatAvlNet.Point3DFileFormat
inXScaledouble<0.000001, INF>1.0DDefault value: 1.0D.
inXLimitsAvlNet.ValueLimits_f64
inYScaledouble<0.000001, INF>1.0DDefault value: 1.0D.
inYLimitsAvlNet.ValueLimits_f64
inZOffsetdouble
inZScaledouble<0.000001, INF>1.0DDefault value: 1.0D.
inPointTypeAvlNet.PlainTypeRealType of single surface point Z coordinate. Default value: Real.
inMultipointHeightAvlNet.SurfaceMultipointHeightMeanDetermines the Z coordinate of a surface point created from more than one point. Default value: Mean.
inBackgroundColorAvlNet.Pixel
outSurfaceAvlNet.Surface
outImageAvlNet.ImageOutput image.
outMinXAvlNet.NullableValue<double> Can be null to skip this parameter calculation.
outMinYAvlNet.NullableValue<double> Can be null to skip this parameter calculation.
diagSurfaceValidPointsRegionAvlNet.RegionRegion of locations where the surface points are valid.

Errors

List of possible exceptions:

Error type Description
DomainError Unknown file format in LoadSurfaceWithImage.

Function Overrides

See also