UNPKG

704 BTypeScriptView Raw
1import { SmartPoint } from "../geom-utils";
2import { PvjsonEdge, AttachablePoint, Orientation } from "../gpml2pvjson";
3/**
4 * getOrientationOfHyperedgeStartPoint
5 *
6 * Get orientation of the start point of an edge that is attached to another
7 * edge.
8 *
9 * @param referencedEdge {PvjsonEdge}
10 * @param startPoint {Point}
11 * @param otherPoint {Point}
12 * @return {Orientation}
13 */
14export declare function getOrientationOfHyperedgeStartPoint(referencedEdge: PvjsonEdge, startPoint: AttachablePoint & SmartPoint, endPoint: AttachablePoint & SmartPoint): Orientation;
15export declare const getOrientationOfHyperedgeEndPoint: any;
16export declare function validateOrientation(orientation: Orientation): boolean;