Back to FabImage Library website
You are here: Start » Function Reference » Surface » Surface Basics » CreateFlatSurface

CreateFlatSurface
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Vision3DStandard |
Creates a uniform surface.
Syntax
C++
C#
void fil::CreateFlatSurface ( const int inWidth, const int inHeight, const fil::PlainType::Type& inPointType, const double inXOffset, const double inXScale, const double inYOffset, const double inYScale, const double inZOffset, const double inZScale, ftl::Optional<double> inZ, fil::Surface& outSurface )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inWidth | const int | 1 - 65535 | 320 | Width of the created surface |
![]() |
inHeight | const int | 1 - 65535 | 240 | Height of the created surface |
![]() |
inPointType | const PlainType::Type& | Int16 | Type of single point Z coordinate | |
![]() |
inXOffset | const double | 0.0D | ||
![]() |
inXScale | const double | 0.001 - ![]() |
1.0D | |
![]() |
inYOffset | const double | 0.0D | ||
![]() |
inYScale | const double | 0.001 - ![]() |
1.0D | |
![]() |
inZOffset | const double | 0.0D | ||
![]() |
inZScale | const double | 0.001 - ![]() |
1.0D | |
![]() |
inZ | Optional<double> | 0.0D | Z coordinate of all points of the created surface | |
![]() |
outSurface | Surface& |