[This is preliminary documentation and is subject to change.]

Extracts all input geometry for a particular bounds.

Namespace: org.critterai.nmbuild
Assembly: cai-nmbuild (in cai-nmbuild.dll) Version: 0.4.0.0 (0.4.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public TriangleMesh ExtractMesh(
	float xmin,
	float zmin,
	float xmax,
	float zmax,
	out byte[] areas
)
Public Function ExtractMesh ( _
	xmin As Single, _
	zmin As Single, _
	xmax As Single, _
	zmax As Single, _
	<OutAttribute> ByRef areas As Byte() _
) As TriangleMesh
public:
TriangleMesh^ ExtractMesh(
	float xmin, 
	float zmin, 
	float xmax, 
	float zmax, 
	[OutAttribute] array<unsigned char>^% areas
)

Parameters

xmin
Single
The minimum x-axis bounds.
zmin
Single
The minimum z-axis bounds.
xmax
Single
The maximum x-axis bounds.
zmax
Single
The maximum z-axis bounds.
areas
array<Byte>[]()[][]%
The triangle areas.

Return Value

The triangle mesh.

Remarks

This method exists to permit debugging.

The returned result is only guarenteed to be the result 'seen' by the NMGen build process.

See Also