GetPerimeter

This function calculates the perimeter of an instance.

Note: internally the call does not store its results, any optimization based on known dependancies between instances need to be implemented on the client.

Note: due to internal structure using already calculated vertices/indices does not give any performance benefits, in opposite to GetVolume and GetArea

Syntax

//   Visual Studio for Windows
public:
double __declspec(dllexport) __stdcall GetPerimeter(
            __int64        owlInstance
        );

//   Linux, OS-X and non-Visual Studio Windows solutions
public:
double GetPerimeter(
            int64_t        owlInstance
        );    

Property owlInstance

Size: 64 bit / 8 byte (value)
...