PathEngine home previous: iMeshFederation::build2DTileMeshWithGround()next: iMeshFederation::buildTileMeshFromContent()
Contents, API Reference, Interfaces, iMeshFederation, build2DTiledGround

iMeshFederation::build2DTiledGround()

Description

Generates an iMesh object with simple 2D square bounds for the specified tile in this federation.

Syntax

std::unique_ptr<iGround> build2DTiledGround(int32_t partitioningTileSize, const char *const* options) const

Parameters

partitioningTileSize Specifies width/height of squares in a simple grid partition.
options

A set of named attributes to control how the geometry is processed.

Refer to Handling Attributes for information about passing sets of named attributes.

See mesh loading options for options that may be passed into this method.

Return Value

A newly created Interface iGround object constructed to serve as the underlying ground for federation tile meshes for this federation.

Remarks

The base ground part of the iMesh object is initialised to a simple square region corresponding to the represented region for the specified mesh federation tile.

Some partioning is then generated for the '2D mapping' part of the iMesh object, controlled by the partitioningTileSize parameter.

The resulting mesh geometry is generated in local coordinates for the tile being generated.

C# Mapping

Ground build2DTiledGround(int partitioningTileSize, string[] options);

Java Mapping

Ground build2DTiledGround(int partitioningTileSize, String[] options);

Documentation for PathEngine release 6.03 - Copyright © 2002-2021 PathEnginenext: iMeshFederation::buildTileMeshFromContent()