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

Returns the area of the specified polygon.

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public NavStatus GetPolyArea(
	uint polyRef,
	out byte area
)
Public Function GetPolyArea ( _
	polyRef As UInteger, _
	<OutAttribute> ByRef area As Byte _
) As NavStatus
public:
NavStatus GetPolyArea(
	unsigned int polyRef, 
	[OutAttribute] unsigned char% area
)

Parameters

polyRef
UInt32
The reference of the polygon.
area
Byte%
The area of the polygon.

Return Value

The NavStatus flags for the operation.

See Also