RaySupreme Script API
 All Data Structures Functions Pages
Public Member Functions
EdgeHandle Class Reference

Public Member Functions

 EdgeHandle (int index)
 
uint index (void)
 

Detailed Description

An EdgeHandle is used as a type-safe wrapper for the index of an edge.

Constructor & Destructor Documentation

EdgeHandle::EdgeHandle ( int  index)

Constructs an EdgeHandle for the edge identified by the given index.

Parameters
indexThe index of the edge or -1 to construct an invalid VertexHandle for test purposes. index has to be smaller than Mesh::edgeCount().

Member Function Documentation

uint EdgeHandle::index ( void  )

Returns the index of the edge.

Returns
The index of the edge.