PathEngine home previous: Filtering Steep Facesnext: Automating Connections
Contents, Programmers Guide, World Representation, 2D Content Processing, Mesh Optimisation

Mesh Optimisation

The mesh optimisation functionality is designed to reduce the complexity of the obstruction boundaries resulting from the external edges of a mesh with minimal affect on the actual geometry of those obstruction boundaries.

This optimisation exclusively targets 'external vertices' of the mesh being exported, then.
(Internal vertices do not obstruct movement and are filtered out of the partitioning applied to core queries, and therefore do not affect the performance of those queries.)

This functionality is off by default and can be turned on by passing an 'optimiseWithThreshold' attribute into the content processing.
This attribute both turns on optimisation and supplies a maximum error value to be applied during the optimisation.

Vertices are removed along an external edge if the horizontal and vertical distances between the original position of the vertex and the line after removal both are within the maximum error value.

Vertices are not removed if face attributes differ for faces around the vertices.

A mesh before external vertex optimisation.

A mesh after external vertex optimisation.


Documentation for PathEngine release 5.16 - Copyright © 2002-2008 PathEnginenext: Automating Connections