Skip to content

Edge.IsFlippedOnFace(Int32)

Public Class

Determines if this edge’s topological direction on the Face is opposite to its parametric direction.

Namespace: Autodesk.Revit.DB

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public bool IsFlippedOnFace(
int index
)

Parameters

indexInt32

The index of the face (0 or 1).

Return Value

Boolean
true if this edge’s topological direction on the Face is opposite to its parametric direction, false if the topological direction agrees with the parametric direction.

Exceptions

Exception

Condition


ArgumentOutOfRangeException

Thrown when the specified index is not 0 or 1.


Remarks

Outer edge loops on a Face are oriented counter-clockwise with respect to the Face’s orientation, and inner loops are oriented clockwise. The topological direction of an edge on a face means the direction in which the edge’s loop is being traversed.