LinearlyReferencedFromToLocation Class
Beta
Concrete multi-aspect class carrying 'from-to' linearly-referenced positions along a Linear-Element.
Extends
Implements
Methods
| Name | Description | |
|---|---|---|
| constructor(props: LinearlyReferencedFromToLocationAspectProps, iModel: IModelDb): LinearlyReferencedFromToLocation | ||
| create(iModel: IModelDb, locatedElementId: Id64String, from: DistanceExpression, to: DistanceExpression, fromReferentId?: Id64String, toReferentId?: Id64String): LinearlyReferencedFromToLocation Static | ||
| insert(iModel: IModelDb, locatedElementId: Id64String, from: DistanceExpression, to: DistanceExpression, fromReferentId?: Id64String, toReferentId?: Id64String): void Static |
Inherited methods
| Name | Inherited from | Description |
|---|---|---|
| forEachProperty(func: PropertyCallback, includeCustom: boolean = false): void | Entity | Call a function for each property of this Entity. |
| onDelete(_props: ElementAspectProps, _iModel: IModelDb): void ProtectedStatic | ElementAspect | Called before an ElementAspect is deleted. |
| onDeleted(_props: ElementAspectProps, _iModel: IModelDb): void ProtectedStatic | ElementAspect | Called after an ElementAspect was deleted. |
| onInsert(_props: ElementAspectProps, _iModel: IModelDb): void ProtectedStatic | ElementAspect | Called before a new ElementAspect is inserted. |
| onInserted(_props: ElementAspectProps, _iModel: IModelDb): void ProtectedStatic | ElementAspect | Called after a new ElementAspect was inserted. |
| onUpdate(_props: ElementAspectProps, _iModel: IModelDb): void ProtectedStatic | ElementAspect | Called before an ElementAspect is updated. |
| onUpdated(_props: ElementAspectProps, _iModel: IModelDb): void ProtectedStatic | ElementAspect | Called after an ElementAspect was updated. |
Properties
| Name | Type | Description | |
|---|---|---|---|
| fromPosition | DistanceExpression | ||
| fromPositionFromReferent | undefined | LinearlyReferencedFromPositionRefersToReferent | ||
| toPosition | DistanceExpression | ||
| toPositionFromReferent | undefined | LinearlyReferencedToPositionRefersToReferent |
Inherited properties
| Name | Type | Inherited from | Description |
|---|---|---|---|
| classFullName Accessor ReadOnly | string | Entity | Get the full BIS class name of this Entity in the form "schema:class". |
| classFullName Accessor StaticReadOnly | string | Entity | Get the full BIS class name of this Entity in the form "schema:class" |
| className Accessor ReadOnly | string | Entity | The name of the BIS class associated with this class. |
| element | RelatedElement | ElementAspect | |
| id | Id64String | Entity | The Id of this Entity. |
| iModel | IModelDb | Entity | The Entity.IModelDb that contains this Entity |
| schema Static | Schema | Entity | The Schema that defines this class. |
| schemaName Accessor ReadOnly | string | Entity | The name of the BIS Schema that defines this class |
Defined in
Last Updated: 08 January, 2020