![]() |
Open CASCADE Technology Reference Manual 8.0.1
|
Persisted core-topology orientation stored as forward/reversed parity only. More...
#include <BRepGraphInc_ParityOrientation.hxx>
Public Member Functions | |
| ParityOrientation ()=default | |
| Constructs the parity wrapper from a core forward/reversed orientation. | |
| ParityOrientation (const TopAbs_Orientation theOrientation) | |
| Constructs the parity wrapper from a core forward/reversed orientation. | |
| ParityOrientation & | operator= (const TopAbs_Orientation theOrientation) |
| Assigns a core forward/reversed orientation. | |
| operator TopAbs_Orientation () const | |
Converts stored parity back to TopAbs_Orientation. | |
Data Fields | |
| bool | IsReversed = false |
Stored parity bit: false for TopAbs_FORWARD, true for TopAbs_REVERSED. | |
Persisted core-topology orientation stored as forward/reversed parity only.
The wrapper keeps storage compact through one bool while remaining implicitly convertible to TopAbs_Orientation for existing orientation-facing codepaths.
|
default |
Constructs the parity wrapper from a core forward/reversed orientation.
|
inline |
Constructs the parity wrapper from a core forward/reversed orientation.
|
inline |
Converts stored parity back to TopAbs_Orientation.
|
inline |
Assigns a core forward/reversed orientation.
Stored parity bit: false for TopAbs_FORWARD, true for TopAbs_REVERSED.