@itwin/linear-referencing-backend 5.0.0-dev.90 → 5.0.0-dev.92
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/esm/LinearReferencingElementAspects.d.ts +54 -0
- package/lib/esm/LinearReferencingElementAspects.d.ts.map +1 -0
- package/lib/esm/LinearReferencingElementAspects.js +99 -0
- package/lib/esm/LinearReferencingElementAspects.js.map +1 -0
- package/lib/esm/LinearReferencingElements.d.ts +202 -0
- package/lib/esm/LinearReferencingElements.d.ts.map +1 -0
- package/lib/esm/LinearReferencingElements.js +603 -0
- package/lib/esm/LinearReferencingElements.js.map +1 -0
- package/lib/esm/LinearReferencingRelationships.d.ts +63 -0
- package/lib/esm/LinearReferencingRelationships.d.ts.map +1 -0
- package/lib/esm/LinearReferencingRelationships.js +78 -0
- package/lib/esm/LinearReferencingRelationships.js.map +1 -0
- package/lib/esm/LinearReferencingSchema.d.ts +14 -0
- package/lib/esm/LinearReferencingSchema.d.ts.map +1 -0
- package/lib/esm/LinearReferencingSchema.js +30 -0
- package/lib/esm/LinearReferencingSchema.js.map +1 -0
- package/lib/esm/linear-referencing-backend.d.ts +11 -0
- package/lib/esm/linear-referencing-backend.d.ts.map +1 -0
- package/lib/esm/linear-referencing-backend.js +15 -0
- package/lib/esm/linear-referencing-backend.js.map +1 -0
- package/package.json +14 -11
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module LinearReferencing
|
|
3
|
+
*/
|
|
4
|
+
import { Id64String } from "@itwin/core-bentley";
|
|
5
|
+
import { ElementMultiAspect, IModelDb } from "@itwin/core-backend";
|
|
6
|
+
import { DistanceExpressionProps, LinearlyReferencedAtLocationAspectProps, LinearlyReferencedFromToLocationAspectProps } from "@itwin/linear-referencing-common";
|
|
7
|
+
import { LinearlyReferencedAtPositionRefersToReferent, LinearlyReferencedFromPositionRefersToReferent, LinearlyReferencedToPositionRefersToReferent } from "./LinearReferencingRelationships";
|
|
8
|
+
/** Core structure carrying linearly-referenced information.
|
|
9
|
+
* @beta
|
|
10
|
+
*/
|
|
11
|
+
export declare class DistanceExpression implements DistanceExpressionProps {
|
|
12
|
+
distanceAlongFromStart: number;
|
|
13
|
+
lateralOffsetFromILinearElement?: number;
|
|
14
|
+
verticalOffsetFromILinearElement?: number;
|
|
15
|
+
distanceAlongFromReferent?: number;
|
|
16
|
+
constructor(props: DistanceExpressionProps);
|
|
17
|
+
static fromJSON(json: DistanceExpressionProps): DistanceExpression;
|
|
18
|
+
}
|
|
19
|
+
/** Base class for multi-aspects carrying linearly-referenced locations.
|
|
20
|
+
* @beta
|
|
21
|
+
*/
|
|
22
|
+
export declare class LinearlyReferencedLocation extends ElementMultiAspect {
|
|
23
|
+
/** @internal */
|
|
24
|
+
static get className(): string;
|
|
25
|
+
}
|
|
26
|
+
/** Concrete multi-aspect class carrying 'at' linearly-referenced positions along a Linear-Element.
|
|
27
|
+
* @beta
|
|
28
|
+
*/
|
|
29
|
+
export declare class LinearlyReferencedAtLocation extends LinearlyReferencedLocation {
|
|
30
|
+
/** @internal */
|
|
31
|
+
static get className(): string;
|
|
32
|
+
atPosition: DistanceExpression;
|
|
33
|
+
fromReferent?: LinearlyReferencedAtPositionRefersToReferent;
|
|
34
|
+
constructor(props: LinearlyReferencedAtLocationAspectProps, iModel: IModelDb);
|
|
35
|
+
private static toProps;
|
|
36
|
+
static create(iModel: IModelDb, locatedElementId: Id64String, at: DistanceExpression, fromReferentId?: Id64String): LinearlyReferencedAtLocation;
|
|
37
|
+
static insert(iModel: IModelDb, locatedElementId: Id64String, at: DistanceExpression, fromReferentId?: Id64String): void;
|
|
38
|
+
}
|
|
39
|
+
/** Concrete multi-aspect class carrying 'from-to' linearly-referenced positions along a Linear-Element.
|
|
40
|
+
* @beta
|
|
41
|
+
*/
|
|
42
|
+
export declare class LinearlyReferencedFromToLocation extends LinearlyReferencedLocation {
|
|
43
|
+
/** @internal */
|
|
44
|
+
static get className(): string;
|
|
45
|
+
fromPosition: DistanceExpression;
|
|
46
|
+
fromPositionFromReferent?: LinearlyReferencedFromPositionRefersToReferent;
|
|
47
|
+
toPosition: DistanceExpression;
|
|
48
|
+
toPositionFromReferent?: LinearlyReferencedToPositionRefersToReferent;
|
|
49
|
+
constructor(props: LinearlyReferencedFromToLocationAspectProps, iModel: IModelDb);
|
|
50
|
+
private static toProps;
|
|
51
|
+
static create(iModel: IModelDb, locatedElementId: Id64String, from: DistanceExpression, to: DistanceExpression, fromReferentId?: Id64String, toReferentId?: Id64String): LinearlyReferencedFromToLocation;
|
|
52
|
+
static insert(iModel: IModelDb, locatedElementId: Id64String, from: DistanceExpression, to: DistanceExpression, fromReferentId?: Id64String, toReferentId?: Id64String): void;
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=LinearReferencingElementAspects.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinearReferencingElementAspects.d.ts","sourceRoot":"","sources":["../../src/LinearReferencingElementAspects.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,UAAU,EAAa,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEnE,OAAO,EACL,uBAAuB,EAAE,uCAAuC,EAAE,2CAA2C,EAC9G,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,4CAA4C,EAAE,8CAA8C,EAAE,4CAA4C,EAC3I,MAAM,kCAAkC,CAAC;AAE1C;;GAEG;AACH,qBAAa,kBAAmB,YAAW,uBAAuB;IACzD,sBAAsB,EAAE,MAAM,CAAC;IAC/B,+BAA+B,CAAC,EAAE,MAAM,CAAC;IACzC,gCAAgC,CAAC,EAAE,MAAM,CAAC;IAC1C,yBAAyB,CAAC,EAAE,MAAM,CAAC;gBAE9B,KAAK,EAAE,uBAAuB;WAO5B,QAAQ,CAAC,IAAI,EAAE,uBAAuB,GAAG,kB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,EAAE,gBAAgB,EAAE,UAAU,EACjE,IAAI,EAAE,kBAAkB,EAAE,EAAE,EAAE,kBAAkB,EAAE,cAAc,CAAC,EAAE,UAAU,EAAE,YAAY,CAAC,EAAE,UAAU,GAAG,IAAI;CAGlH"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
/** @packageDocumentation
|
|
6
|
+
* @module LinearReferencing
|
|
7
|
+
*/
|
|
8
|
+
import { JsonUtils } from "@itwin/core-bentley";
|
|
9
|
+
import { ElementMultiAspect } from "@itwin/core-backend";
|
|
10
|
+
import { RelatedElement } from "@itwin/core-common";
|
|
11
|
+
import { LinearlyReferencedAtPositionRefersToReferent, LinearlyReferencedFromPositionRefersToReferent, LinearlyReferencedToPositionRefersToReferent, } from "./LinearReferencingRelationships";
|
|
12
|
+
/** Core structure carrying linearly-referenced information.
|
|
13
|
+
* @beta
|
|
14
|
+
*/
|
|
15
|
+
export class DistanceExpression {
|
|
16
|
+
distanceAlongFromStart;
|
|
17
|
+
lateralOffsetFromILinearElement;
|
|
18
|
+
verticalOffsetFromILinearElement;
|
|
19
|
+
distanceAlongFromReferent;
|
|
20
|
+
constructor(props) {
|
|
21
|
+
this.distanceAlongFromStart = JsonUtils.asDouble(props.distanceAlongFromStart);
|
|
22
|
+
this.lateralOffsetFromILinearElement = JsonUtils.asDouble(props.lateralOffsetFromILinearElement);
|
|
23
|
+
this.verticalOffsetFromILinearElement = JsonUtils.asDouble(props.verticalOffsetFromILinearElement);
|
|
24
|
+
this.distanceAlongFromReferent = JsonUtils.asDouble(props.distanceAlongFromReferent);
|
|
25
|
+
}
|
|
26
|
+
static fromJSON(json) { return new DistanceExpression(json); }
|
|
27
|
+
}
|
|
28
|
+
/** Base class for multi-aspects carrying linearly-referenced locations.
|
|
29
|
+
* @beta
|
|
30
|
+
*/
|
|
31
|
+
export class LinearlyReferencedLocation extends ElementMultiAspect {
|
|
32
|
+
/** @internal */
|
|
33
|
+
static get className() { return "LinearlyReferencedLocation"; }
|
|
34
|
+
}
|
|
35
|
+
/** Concrete multi-aspect class carrying 'at' linearly-referenced positions along a Linear-Element.
|
|
36
|
+
* @beta
|
|
37
|
+
*/
|
|
38
|
+
export class LinearlyReferencedAtLocation extends LinearlyReferencedLocation {
|
|
39
|
+
/** @internal */
|
|
40
|
+
static get className() { return "LinearlyReferencedAtLocation"; }
|
|
41
|
+
atPosition;
|
|
42
|
+
fromReferent;
|
|
43
|
+
constructor(props, iModel) {
|
|
44
|
+
super(props, iModel);
|
|
45
|
+
this.atPosition = DistanceExpression.fromJSON(props.atPosition);
|
|
46
|
+
this.fromReferent = RelatedElement.fromJSON(props.fromReferent);
|
|
47
|
+
}
|
|
48
|
+
static toProps(locatedElementId, at, fromReferentId) {
|
|
49
|
+
const props = {
|
|
50
|
+
classFullName: LinearlyReferencedAtLocation.classFullName,
|
|
51
|
+
element: { id: locatedElementId },
|
|
52
|
+
atPosition: at,
|
|
53
|
+
fromReferent: (fromReferentId === undefined) ? undefined : new LinearlyReferencedAtPositionRefersToReferent(fromReferentId),
|
|
54
|
+
};
|
|
55
|
+
return props;
|
|
56
|
+
}
|
|
57
|
+
static create(iModel, locatedElementId, at, fromReferentId) {
|
|
58
|
+
return new LinearlyReferencedAtLocation(this.toProps(locatedElementId, at, fromReferentId), iModel);
|
|
59
|
+
}
|
|
60
|
+
static insert(iModel, locatedElementId, at, fromReferentId) {
|
|
61
|
+
iModel.elements.insertAspect(this.toProps(locatedElementId, at, fromReferentId));
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
/** Concrete multi-aspect class carrying 'from-to' linearly-referenced positions along a Linear-Element.
|
|
65
|
+
* @beta
|
|
66
|
+
*/
|
|
67
|
+
export class LinearlyReferencedFromToLocation extends LinearlyReferencedLocation {
|
|
68
|
+
/** @internal */
|
|
69
|
+
static get className() { return "LinearlyReferencedFromToLocation"; }
|
|
70
|
+
fromPosition;
|
|
71
|
+
fromPositionFromReferent;
|
|
72
|
+
toPosition;
|
|
73
|
+
toPositionFromReferent;
|
|
74
|
+
constructor(props, iModel) {
|
|
75
|
+
super(props, iModel);
|
|
76
|
+
this.fromPosition = DistanceExpression.fromJSON(props.fromPosition);
|
|
77
|
+
this.toPosition = DistanceExpression.fromJSON(props.toPosition);
|
|
78
|
+
this.fromPositionFromReferent = RelatedElement.fromJSON(props.fromPositionFromReferent);
|
|
79
|
+
this.toPositionFromReferent = RelatedElement.fromJSON(props.toPositionFromReferent);
|
|
80
|
+
}
|
|
81
|
+
static toProps(locatedElementId, from, to, fromReferentId, toReferentId) {
|
|
82
|
+
const props = {
|
|
83
|
+
classFullName: LinearlyReferencedFromToLocation.classFullName,
|
|
84
|
+
element: { id: locatedElementId },
|
|
85
|
+
fromPosition: from,
|
|
86
|
+
fromPositionFromReferent: (fromReferentId === undefined) ? undefined : new LinearlyReferencedFromPositionRefersToReferent(fromReferentId),
|
|
87
|
+
toPosition: to,
|
|
88
|
+
toPositionFromReferent: (toReferentId === undefined) ? undefined : new LinearlyReferencedToPositionRefersToReferent(toReferentId),
|
|
89
|
+
};
|
|
90
|
+
return props;
|
|
91
|
+
}
|
|
92
|
+
static create(iModel, locatedElementId, from, to, fromReferentId, toReferentId) {
|
|
93
|
+
return new LinearlyReferencedFromToLocation(this.toProps(locatedElementId, from, to, fromReferentId, toReferentId), iModel);
|
|
94
|
+
}
|
|
95
|
+
static insert(iModel, locatedElementId, from, to, fromReferentId, toReferentId) {
|
|
96
|
+
iModel.elements.insertAspect(this.toProps(locatedElementId, from, to, fromReferentId, toReferentId));
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
//# sourceMappingURL=LinearReferencingElementAspects.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinearRefer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,OAAO,CAAC,gBAAgB,EAAE,IAAI,EAAE,EAAE,EAAE,cAAc,EAAE,YAAY,CAAC,EAAE,MAAM,CAAC,CAAC;IAC9H,CAAC;IAEM,MAAM,CAAC,MAAM,CAAC,MAAgB,EAAE,gBAA4B,EACjE,IAAwB,EAAE,EAAsB,EAAE,cAA2B,EAAE,YAAyB;QACxG,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,gBAAgB,EAAE,IAAI,EAAE,EAAE,EAAE,cAAc,EAAE,YAAY,CAAC,CAAC,CAAC;IACvG,CAAC;CACF","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module LinearReferencing\n */\n\nimport { Id64String, JsonUtils } from \"@itwin/core-bentley\";\nimport { ElementMultiAspect, IModelDb } from \"@itwin/core-backend\";\nimport { RelatedElement } from \"@itwin/core-common\";\nimport {\n DistanceExpressionProps, LinearlyReferencedAtLocationAspectProps, LinearlyReferencedFromToLocationAspectProps,\n} from \"@itwin/linear-referencing-common\";\nimport {\n LinearlyReferencedAtPositionRefersToReferent, LinearlyReferencedFromPositionRefersToReferent, LinearlyReferencedToPositionRefersToReferent,\n} from \"./LinearReferencingRelationships\";\n\n/** Core structure carrying linearly-referenced information.\n * @beta\n */\nexport class DistanceExpression implements DistanceExpressionProps {\n public distanceAlongFromStart: number;\n public lateralOffsetFromILinearElement?: number;\n public verticalOffsetFromILinearElement?: number;\n public distanceAlongFromReferent?: number;\n\n constructor(props: DistanceExpressionProps) {\n this.distanceAlongFromStart = JsonUtils.asDouble(props.distanceAlongFromStart);\n this.lateralOffsetFromILinearElement = JsonUtils.asDouble(props.lateralOffsetFromILinearElement);\n this.verticalOffsetFromILinearElement = JsonUtils.asDouble(props.verticalOffsetFromILinearElement);\n this.distanceAlongFromReferent = JsonUtils.asDouble(props.distanceAlongFromReferent);\n }\n\n public static fromJSON(json: DistanceExpressionProps): DistanceExpression { return new DistanceExpression(json); }\n}\n\n/** Base class for multi-aspects carrying linearly-referenced locations.\n * @beta\n */\nexport class LinearlyReferencedLocation extends ElementMultiAspect {\n /** @internal */\n public static override get className(): string { return \"LinearlyReferencedLocation\"; }\n}\n\n/** Concrete multi-aspect class carrying 'at' linearly-referenced positions along a Linear-Element.\n * @beta\n */\nexport class LinearlyReferencedAtLocation extends LinearlyReferencedLocation {\n /** @internal */\n public static override get className(): string { return \"LinearlyReferencedAtLocation\"; }\n\n public atPosition: DistanceExpression;\n public fromReferent?: LinearlyReferencedAtPositionRefersToReferent;\n\n constructor(props: LinearlyReferencedAtLocationAspectProps, iModel: IModelDb) {\n super(props, iModel);\n this.atPosition = DistanceExpression.fromJSON(props.atPosition);\n this.fromReferent = RelatedElement.fromJSON(props.fromReferent);\n }\n\n private static toProps(locatedElementId: Id64String, at: DistanceExpression, fromReferentId?: Id64String): LinearlyReferencedAtLocationAspectProps {\n const props: LinearlyReferencedAtLocationAspectProps = {\n classFullName: LinearlyReferencedAtLocation.classFullName,\n element: { id: locatedElementId },\n atPosition: at,\n fromReferent: (fromReferentId === undefined) ? undefined : new LinearlyReferencedAtPositionRefersToReferent(fromReferentId),\n };\n\n return props;\n }\n\n public static create(iModel: IModelDb, locatedElementId: Id64String,\n at: DistanceExpression, fromReferentId?: Id64String): LinearlyReferencedAtLocation {\n return new LinearlyReferencedAtLocation(this.toProps(locatedElementId, at, fromReferentId), iModel);\n }\n\n public static insert(iModel: IModelDb, locatedElementId: Id64String,\n at: DistanceExpression, fromReferentId?: Id64String): void {\n iModel.elements.insertAspect(this.toProps(locatedElementId, at, fromReferentId));\n }\n}\n\n/** Concrete multi-aspect class carrying 'from-to' linearly-referenced positions along a Linear-Element.\n * @beta\n */\nexport class LinearlyReferencedFromToLocation extends LinearlyReferencedLocation {\n /** @internal */\n public static override get className(): string { return \"LinearlyReferencedFromToLocation\"; }\n\n public fromPosition: DistanceExpression;\n public fromPositionFromReferent?: LinearlyReferencedFromPositionRefersToReferent;\n public toPosition: DistanceExpression;\n public toPositionFromReferent?: LinearlyReferencedToPositionRefersToReferent;\n\n constructor(props: LinearlyReferencedFromToLocationAspectProps, iModel: IModelDb) {\n super(props, iModel);\n this.fromPosition = DistanceExpression.fromJSON(props.fromPosition);\n this.toPosition = DistanceExpression.fromJSON(props.toPosition);\n this.fromPositionFromReferent = RelatedElement.fromJSON(props.fromPositionFromReferent);\n this.toPositionFromReferent = RelatedElement.fromJSON(props.toPositionFromReferent);\n }\n\n private static toProps(locatedElementId: Id64String,\n from: DistanceExpression, to: DistanceExpression, fromReferentId?: Id64String, toReferentId?: Id64String): LinearlyReferencedFromToLocationAspectProps {\n const props: LinearlyReferencedFromToLocationAspectProps = {\n classFullName: LinearlyReferencedFromToLocation.classFullName,\n element: { id: locatedElementId },\n fromPosition: from,\n fromPositionFromReferent: (fromReferentId === undefined) ? undefined : new LinearlyReferencedFromPositionRefersToReferent(fromReferentId),\n toPosition: to,\n toPositionFromReferent: (toReferentId === undefined) ? undefined : new LinearlyReferencedToPositionRefersToReferent(toReferentId),\n };\n\n return props;\n }\n\n public static create(iModel: IModelDb, locatedElementId: Id64String,\n from: DistanceExpression, to: DistanceExpression, fromReferentId?: Id64String, toReferentId?: Id64String): LinearlyReferencedFromToLocation {\n return new LinearlyReferencedFromToLocation(this.toProps(locatedElementId, from, to, fromReferentId, toReferentId), iModel);\n }\n\n public static insert(iModel: IModelDb, locatedElementId: Id64String,\n from: DistanceExpression, to: DistanceExpression, fromReferentId?: Id64String, toReferentId?: Id64String): void {\n iModel.elements.insertAspect(this.toProps(locatedElementId, from, to, fromReferentId, toReferentId));\n }\n}\n"]}
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module LinearReferencing
|
|
3
|
+
*/
|
|
4
|
+
import { Id64String } from "@itwin/core-bentley";
|
|
5
|
+
import { IModelDb, PhysicalElement, SpatialLocationElement } from "@itwin/core-backend";
|
|
6
|
+
import { ElementProps, GeometricElement3dProps, PhysicalElementProps } from "@itwin/core-common";
|
|
7
|
+
import { LinearLocationReference, LinearlyLocatedAttributionProps, LinearlyReferencedAtLocationProps, LinearlyReferencedFromToLocationProps, QueryParams, ReferentElementProps } from "@itwin/linear-referencing-common";
|
|
8
|
+
import { LinearlyReferencedAtLocation, LinearlyReferencedFromToLocation } from "./LinearReferencingElementAspects";
|
|
9
|
+
import { ILinearlyLocatedAttributesElement, IReferentReferencesElement } from "./LinearReferencingRelationships";
|
|
10
|
+
/** Base class for Spatial Location Element subclasses representing properties whose value is located along a Linear-Element and only applies to a portion of an Element.
|
|
11
|
+
* @beta
|
|
12
|
+
*/
|
|
13
|
+
export declare abstract class LinearlyLocatedAttribution extends SpatialLocationElement {
|
|
14
|
+
/** @internal */
|
|
15
|
+
static get className(): string;
|
|
16
|
+
attributedElement?: ILinearlyLocatedAttributesElement;
|
|
17
|
+
constructor(props: LinearlyLocatedAttributionProps, iModel: IModelDb);
|
|
18
|
+
getLinearElementId(): Id64String | undefined;
|
|
19
|
+
}
|
|
20
|
+
/** Base class for Spatial Location Element implementations that are linearly located along a Linear-Element.
|
|
21
|
+
* @beta
|
|
22
|
+
*/
|
|
23
|
+
export declare abstract class LinearLocationElement extends SpatialLocationElement implements LinearlyLocatedBase {
|
|
24
|
+
/** @internal */
|
|
25
|
+
static get className(): string;
|
|
26
|
+
constructor(props: GeometricElement3dProps, iModel: IModelDb);
|
|
27
|
+
getLinearElementId(): Id64String | undefined;
|
|
28
|
+
}
|
|
29
|
+
/** Linear Referencing Location attached to an Element not inherently Linearly Referenced.
|
|
30
|
+
* @beta
|
|
31
|
+
*/
|
|
32
|
+
export declare class LinearLocation extends LinearLocationElement implements LinearlyLocatedBase {
|
|
33
|
+
/** @internal */
|
|
34
|
+
static get className(): string;
|
|
35
|
+
constructor(props: GeometricElement3dProps, iModel: IModelDb);
|
|
36
|
+
private static toProps;
|
|
37
|
+
static create(iModel: IModelDb, modelId: Id64String, categoryId: Id64String): LinearLocation;
|
|
38
|
+
static insertFromTo(iModel: IModelDb, modelId: Id64String, categoryId: Id64String, linearElementId: Id64String, fromToPosition: LinearlyReferencedFromToLocationProps, locatedElementId: Id64String): Id64String;
|
|
39
|
+
insertFromTo(iModel: IModelDb, linearElementId: Id64String, fromToPosition: LinearlyReferencedFromToLocationProps, locatedElementId: Id64String): Id64String;
|
|
40
|
+
static insertAt(iModel: IModelDb, modelId: Id64String, categoryId: Id64String, linearElementId: Id64String, atPosition: LinearlyReferencedAtLocationProps, locatedElementId: Id64String): Id64String;
|
|
41
|
+
insertAt(iModel: IModelDb, linearElementId: Id64String, atPosition: LinearlyReferencedAtLocationProps, locatedElementId: Id64String): Id64String;
|
|
42
|
+
}
|
|
43
|
+
/** Base class for Physical Elements that are inherently linearly located along a Linear-Element.
|
|
44
|
+
* @beta
|
|
45
|
+
*/
|
|
46
|
+
export declare abstract class LinearPhysicalElement extends PhysicalElement {
|
|
47
|
+
/** @internal */
|
|
48
|
+
static get className(): string;
|
|
49
|
+
constructor(props: PhysicalElementProps, iModel: IModelDb);
|
|
50
|
+
}
|
|
51
|
+
/** Spatial Location Element that can play the role of a Referent (known location along a Linear-Element).
|
|
52
|
+
* @beta
|
|
53
|
+
*/
|
|
54
|
+
export declare abstract class ReferentElement extends SpatialLocationElement implements LinearlyLocatedBase {
|
|
55
|
+
/** @internal */
|
|
56
|
+
static get className(): string;
|
|
57
|
+
referencedElement?: IReferentReferencesElement;
|
|
58
|
+
constructor(props: ReferentElementProps, iModel: IModelDb);
|
|
59
|
+
getLinearElementId(): Id64String | undefined;
|
|
60
|
+
}
|
|
61
|
+
/** Referent-implementation turning any bis:SpatialElement not inherently Linearly-Referenced into a Referent for Linear-Referencing purposes.
|
|
62
|
+
* @beta
|
|
63
|
+
*/
|
|
64
|
+
export declare class Referent extends ReferentElement {
|
|
65
|
+
/** @internal */
|
|
66
|
+
static get className(): string;
|
|
67
|
+
constructor(props: ReferentElementProps, iModel: IModelDb);
|
|
68
|
+
private static toProps;
|
|
69
|
+
static create(iModel: IModelDb, modelId: Id64String, categoryId: Id64String, referencedElementId: Id64String): Referent;
|
|
70
|
+
static insertAt(iModel: IModelDb, modelId: Id64String, categoryId: Id64String, linearElementId: Id64String, atPosition: LinearlyReferencedAtLocationProps, referencedElementId: Id64String): Id64String;
|
|
71
|
+
insertAt(iModel: IModelDb, linearElementId: Id64String, atPosition: LinearlyReferencedAtLocationProps): Id64String;
|
|
72
|
+
}
|
|
73
|
+
/** A class offering services for LinearlyLocated elements.
|
|
74
|
+
* @beta
|
|
75
|
+
*/
|
|
76
|
+
export declare class LinearlyLocated {
|
|
77
|
+
private static insertBasic;
|
|
78
|
+
/** Insert a new LinearlyLocated element into an iModel at a specific location along an existing Linear-Element.
|
|
79
|
+
* @param iModel The iModel to insert the new element into.
|
|
80
|
+
* @param elProps The properties of the new element.
|
|
81
|
+
* @param linearElementId The Id of the Linear-Element along which the new LinearlyLocated will be inserted.
|
|
82
|
+
* @param atPosition Linear position.
|
|
83
|
+
* @returns The newly inserted element's Id.
|
|
84
|
+
* @throws [[IModelError]] if unable to insert the element.
|
|
85
|
+
*/
|
|
86
|
+
static insertAt(iModel: IModelDb, elProps: ElementProps, linearElementId: Id64String, atPosition: LinearlyReferencedAtLocationProps): Id64String;
|
|
87
|
+
/** Insert a new LinearlyLocated element into an iModel at a specific from-to location along an existing Linear-Element.
|
|
88
|
+
* @param iModel The iModel to insert the new element into.
|
|
89
|
+
* @param elProps The properties of the new element.
|
|
90
|
+
* @param linearElementId The Id of the Linear-Element along which the new LinearlyLocated will be inserted.
|
|
91
|
+
* @param fromToPosition Linear position.
|
|
92
|
+
* @returns The newly inserted element's Id.
|
|
93
|
+
* @throws [[IModelError]] if unable to insert the element.
|
|
94
|
+
*/
|
|
95
|
+
static insertFromTo(iModel: IModelDb, elProps: ElementProps, linearElementId: Id64String, fromToPosition: LinearlyReferencedFromToLocationProps): Id64String;
|
|
96
|
+
private static getLinearLocations;
|
|
97
|
+
private static queryFirstLinearLocationAspectId;
|
|
98
|
+
/** Query for LinearlyReferenced AtLocation aspects owned by the specified LinearlyLocated Element.
|
|
99
|
+
* @param iModel The iModel to query from.
|
|
100
|
+
* @param linearlyLocatedElementId The id of the LinearlyLocated Element to query aspects about.
|
|
101
|
+
* @returns Returns an array of LinearlyReferencedAtLocation.
|
|
102
|
+
* @throws [[IModelError]]
|
|
103
|
+
*/
|
|
104
|
+
static getAtLocations(iModel: IModelDb, linearlyLocatedElementId: Id64String): LinearlyReferencedAtLocation[];
|
|
105
|
+
/** Query for the single LinearlyReferenced AtLocation aspect owned by the specified LinearlyLocated Element. If more than one aspect is expected, use [[getAtLocations]] instead.
|
|
106
|
+
* @param iModel The iModel to query from.
|
|
107
|
+
* @param linearlyLocatedElementId The id of the LinearlyLocated Element to query about.
|
|
108
|
+
* @returns Returns an LinearlyReferencedAtLocation or undefined is none is found.
|
|
109
|
+
* @throws [[IModelError]]
|
|
110
|
+
*/
|
|
111
|
+
static getAtLocation(iModel: IModelDb, linearlyLocatedElementId: Id64String): LinearlyReferencedAtLocation | undefined;
|
|
112
|
+
/** Update an existing LinearlyReferencedAtLocation aspect within the iModel.
|
|
113
|
+
* @param iModel The iModel to update.
|
|
114
|
+
* @param linearlyLocatedElementId The Id of the owning Linearly Located Element.
|
|
115
|
+
* @param linearLocationProps The properties to use to update the LinearlyReferencedAtLocation aspect.
|
|
116
|
+
* @param aspectId The Id of the aspect to update. If not known, the first aspectId will be looked-up.
|
|
117
|
+
* @throws [[IModelError]]
|
|
118
|
+
*/
|
|
119
|
+
static updateAtLocation(iModel: IModelDb, linearlyLocatedElementId: Id64String, linearLocationProps: LinearlyReferencedAtLocationProps, aspectId?: Id64String): void;
|
|
120
|
+
/** Update an existing LinearlyReferencedFromToLocation aspect within the iModel.
|
|
121
|
+
* @param iModel The iModel to update.
|
|
122
|
+
* @param linearlyLocatedElementId The Id of the owning Linearly Located Element.
|
|
123
|
+
* @param linearLocationProps The properties to use to update the LinearlyReferencedFromToLocation aspect.
|
|
124
|
+
* @param aspectId The Id of the aspect to update. If not known, the first aspectId will be looked-up.
|
|
125
|
+
* @throws [[IModelError]]
|
|
126
|
+
*/
|
|
127
|
+
static updateFromToLocation(iModel: IModelDb, linearlyLocatedElementId: Id64String, linearLocationProps: LinearlyReferencedFromToLocationProps, aspectId?: Id64String): void;
|
|
128
|
+
/** Query for the Id of the Linear-Element along which the specified LinearlyLocated Element is located.
|
|
129
|
+
* @param iModel The iModel to query from.
|
|
130
|
+
* @param linearlyLocatedElementId The id of the LinearlyLocated Element to query a Linear-Element for.
|
|
131
|
+
* @returns Returns the Id of the Linear-Element or undefined is none is assigned.
|
|
132
|
+
*/
|
|
133
|
+
static getLinearElementId(iModel: IModelDb, linearlyLocatedElementId: Id64String): Id64String | undefined;
|
|
134
|
+
/** Query for LinearlyReferenced FromToLocation aspects owned by the specified LinearlyLocated Element.
|
|
135
|
+
* @param iModel The iModel to query from.
|
|
136
|
+
* @param linearlyLocatedElementId The id of the LinearlyLocated Element to query aspects about.
|
|
137
|
+
* @returns Returns an array of LinearlyReferencedFromToLocation.
|
|
138
|
+
* @throws [[IModelError]]
|
|
139
|
+
*/
|
|
140
|
+
static getFromToLocations(iModel: IModelDb, linearlyLocatedElementId: Id64String): LinearlyReferencedFromToLocation[];
|
|
141
|
+
/** Query for the single LinearlyReferenced FromToLocation aspect owned by the specified LinearlyLocated Element. If more than one aspect is expected, use [[getFromToLocations]] instead.
|
|
142
|
+
* @param iModel The iModel to query from.
|
|
143
|
+
* @param linearlyLocatedElementId The id of the LinearlyLocated Element to query about.
|
|
144
|
+
* @returns Returns an LinearlyReferencedFromToLocation or undefined is none is found.
|
|
145
|
+
* @throws [[IModelError]]
|
|
146
|
+
*/
|
|
147
|
+
static getFromToLocation(iModel: IModelDb, linearlyLocatedElementId: Id64String): LinearlyReferencedFromToLocation | undefined;
|
|
148
|
+
}
|
|
149
|
+
/** Base interface to optionally be implemented by Elements inherently Linearly-Located. Implementors should choose the
|
|
150
|
+
* appropriate sub-interface rather than implementing LinearlyLocatedBase directly.
|
|
151
|
+
* @beta
|
|
152
|
+
*/
|
|
153
|
+
export interface LinearlyLocatedBase {
|
|
154
|
+
getLinearElementId(): Id64String | undefined;
|
|
155
|
+
}
|
|
156
|
+
/** Interface to optionally be implemented by Elements inherently Linearly-Located whose linear-locations are always a single at-position.
|
|
157
|
+
* It also provides convenient APIs for callers to reach Linear-Referencing data stored on aspects. Classes implementing this interface should
|
|
158
|
+
* make use of the services provided by [LinearlyLocated]($linear-referencing-backend).
|
|
159
|
+
* @beta
|
|
160
|
+
*/
|
|
161
|
+
export interface LinearlyLocatedSingleAt extends LinearlyLocatedBase {
|
|
162
|
+
getAtLocation(): LinearlyReferencedAtLocation | undefined;
|
|
163
|
+
updateAtLocation(linearLocation: LinearlyReferencedAtLocationProps, aspectId?: Id64String): void;
|
|
164
|
+
}
|
|
165
|
+
/** Interface to optionally be implemented by Elements inherently Linearly-Located whose linear-locations are always at-positions.
|
|
166
|
+
* It also provides convenient APIs for callers to reach Linear-Referencing data stored on aspects. Classes implementing this interface should
|
|
167
|
+
* make use of the services provided by [LinearlyLocated]($linear-referencing-backend).
|
|
168
|
+
* @beta
|
|
169
|
+
*/
|
|
170
|
+
export interface LinearlyLocatedMultipleAt extends LinearlyLocatedBase {
|
|
171
|
+
getAtLocations(): LinearlyReferencedAtLocation[];
|
|
172
|
+
updateAtLocation(linearLocation: LinearlyReferencedAtLocationProps, aspectId: Id64String): void;
|
|
173
|
+
}
|
|
174
|
+
/** Interface to optionally be implemented by Elements inherently Linearly-Located whose linear-locations are always a single from-to-position.
|
|
175
|
+
* It also provides convenient APIs for callers to reach Linear-Referencing data stored on aspects. Classes implementing this interface should
|
|
176
|
+
* make use of the services provided by [LinearlyLocated]($linear-referencing-backend).
|
|
177
|
+
* @beta
|
|
178
|
+
*/
|
|
179
|
+
export interface LinearlyLocatedSingleFromTo extends LinearlyLocatedBase {
|
|
180
|
+
getFromToLocation(): LinearlyReferencedFromToLocation | undefined;
|
|
181
|
+
updateFromToLocation(linearLocation: LinearlyReferencedFromToLocationProps, aspectId?: Id64String): void;
|
|
182
|
+
}
|
|
183
|
+
/** Interface to optionally be implemented by Elements inherently Linearly-Located whose linear-locations are always from-to-positions.
|
|
184
|
+
* It also provides convenient APIs for callers to reach Linear-Referencing data stored on aspects. Classes implementing this interface should
|
|
185
|
+
* make use of the services provided by [LinearlyLocated]($linear-referencing-backend).
|
|
186
|
+
* @beta
|
|
187
|
+
*/
|
|
188
|
+
export interface LinearlyLocatedMultipleFromTo extends LinearlyLocatedBase {
|
|
189
|
+
getFromToLocations(): LinearlyReferencedFromToLocation[];
|
|
190
|
+
updateFromToLocation(linearLocation: LinearlyReferencedFromToLocationProps, aspectId: Id64String): void;
|
|
191
|
+
}
|
|
192
|
+
/** A class offering services for linearly-located data along a Linear-Element.
|
|
193
|
+
* @beta
|
|
194
|
+
*/
|
|
195
|
+
export declare class LinearElement {
|
|
196
|
+
/** Query for LinearLocationReferences based on specified query parameters.
|
|
197
|
+
* @returns Returns an array of LinearLocationReferences.
|
|
198
|
+
* @throws [[IModelError]]
|
|
199
|
+
*/
|
|
200
|
+
static queryLinearLocations(iModel: IModelDb, linearElementId: Id64String, queryParams: QueryParams): LinearLocationReference[];
|
|
201
|
+
}
|
|
202
|
+
//# sourceMappingURL=LinearReferencingElements.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinearReferencingElements.d.ts","sourceRoot":"","sources":["../../src/LinearReferencingElements.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAoB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAiC,QAAQ,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AACvH,OAAO,EAAQ,YAAY,EAAE,uBAAuB,EAAe,oBAAoB,EAAkB,MAAM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