Graphisoft®

Model AccessVersion: 10

Body::GetEdge


Get an reference to an edge of the body.


void  GetEdge (
    Int32  edgeIndex,
    Edge*  edge
);

Parameters

edgeIndex
The absolute value of this parameter is the index of the edge. The index range is [1..n] where n = GetEdgeNum (). If this parameter is negative, then the edge will be stored with opposite direction.
edge
A pointer to the result edge.

Description

This method get a reference to an edge of the body and put it into edge. All edges have direction. If the edgeIndex is negative, then the result edge direction will be changed. If the absolute value of the edgeIndex is out of range, then it throws an exception.

Available from version: 8