@itwin/core-common
Version:
iTwin.js components common to frontend and backend
29 lines • 977 B
TypeScript
/** @packageDocumentation
* @module Geometry
*/
import { BentleyStatus, Id64Array } from "@itwin/core-bentley";
import { ViewFlagProps } from "./ViewFlags";
import { ClipPlaneContainment, ClipVectorProps } from "@itwin/core-geometry";
/** Information required to request clip containment status for elements from the front end to the back end.
* @public
* @extensions
*/
export interface GeometryContainmentRequestProps {
candidates: Id64Array;
clip: ClipVectorProps;
allowOverlaps?: boolean;
viewFlags?: ViewFlagProps;
offSubCategories?: Id64Array;
}
/** Information returned from the back end to the front end holding the result of the geometry containment query.
* @public
* @extensions
*/
export interface GeometryContainmentResponseProps {
status: BentleyStatus;
candidatesContainment?: ClipPlaneContainment[];
numInside?: number;
numOutside?: number;
numOverlap?: number;
}
//# sourceMappingURL=GeometryContainment.d.ts.map