Skip to content

Commit

Permalink
Merge branch 'master' into Bug#1544624-Cant-Station-Point
Browse files Browse the repository at this point in the history
  • Loading branch information
SachBhosale authored Jan 17, 2025
2 parents b1a1db0 + d1d6276 commit 1917313
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 11 deletions.
16 changes: 16 additions & 0 deletions Domains/0-Core/BisCore.ecschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1510,6 +1510,9 @@
<BaseClass>ElementUniqueAspect</BaseClass>
<ECCustomAttributes>
<ClassHasHandler xmlns="BisCore.01.00.00"/>
<Deprecated xmlns="CoreCustomAttributes.01.00.03">
<Description>Settings are now stored in the `JsonProperties` attribute of TextAnnotation2d and TextAnnotation3d classes.</Description>
</Deprecated>
</ECCustomAttributes>
<ECProperty propertyName="TextAnnotation" typeName="binary" displayLabel="Text Annotation" description="Text in Annotations.fb.h flat buffer format">
<ECCustomAttributes>
Expand All @@ -1526,6 +1529,11 @@
</ECEntityClass>
<ECRelationshipClass typeName="TextAnnotation2dOwnsTextAnnotationData" strength="embedding" modifier="None">
<BaseClass>ElementOwnsUniqueAspect</BaseClass>
<ECCustomAttributes>
<Deprecated xmlns="CoreCustomAttributes.01.00.03">
<Description>See deprecation description for TextAnnotationData class.</Description>
</Deprecated>
</ECCustomAttributes>
<Source multiplicity="(1..1)" roleLabel="owns" polymorphic="true">
<Class class="TextAnnotation2d"/>
</Source>
Expand All @@ -1542,6 +1550,11 @@
</ECEntityClass>
<ECRelationshipClass typeName="TextAnnotation3dOwnsTextAnnotationData" strength="embedding" modifier="None">
<BaseClass>ElementOwnsUniqueAspect</BaseClass>
<ECCustomAttributes>
<Deprecated xmlns="CoreCustomAttributes.01.00.03">
<Description>See deprecation description for TextAnnotationData class.</Description>
</Deprecated>
</ECCustomAttributes>
<Source multiplicity="(1..1)" roleLabel="owns" polymorphic="true">
<Class class="TextAnnotation3d"/>
</Source>
Expand Down Expand Up @@ -2155,6 +2168,9 @@
<BaseClass>DefinitionElement</BaseClass>
<ECCustomAttributes>
<ClassHasHandler xmlns="BisCore.01.00.00"/>
<Deprecated xmlns="CoreCustomAttributes.01.00.03">
<Description>Not modeled with BIS anymore.</Description>
</Deprecated>
</ECCustomAttributes>
<ECProperty propertyName="Description" typeName="string" description="Description of the style">
<ECCustomAttributes>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ A `HorizontalAlignment` instance shall be contained in a *Plan-projection* `Spat

A `HorizontalAlignment` typically has the same `CodeValue` and Category as its associated `Alignment`.

A `HorizontalAlignment` stores its visual geometry separately from geometry used for linear-referencing and design purposes, although the two could be identical. The former shall be stored in its `GeometryStream` whereas the latter shall be stored in the `HorizontalGeometry` property, encoded as a [Path](https://www.itwinjs.org/reference/geometry-core/curve/path/). Each curve primitive in such *Path* describes a segment along the `HorizontalAlignment` as follows:
A `HorizontalAlignment` stores its visual geometry separately from geometry used for linear-referencing and design purposes, although the two could be identical. The former shall be stored in its `GeometryStream` whereas the latter shall be stored in the `HorizontalGeometry` property, encoded as a [Path](https://www.itwinjs.org/reference/core-geometry/curve/path/). Each curve primitive in such *Path* describes a segment along the `HorizontalAlignment` as follows:

- Linear segments shall be encoded as [LineSegment3d](https://www.itwinjs.org/reference/geometry-core/curve/linesegment3d/)s.
- Circular arc segments shall be encoded as [Arc3d](https://www.itwinjs.org/reference/geometry-core/curve/arc3d/)s.
- Transition segments (spirals) shall be encoded as [TransitionSpiral3d](https://www.itwinjs.org/reference/geometry-core/curve/transitionspiral3d/)s.
- Linear segments shall be encoded as [LineSegment3d](https://www.itwinjs.org/reference/core-geometry/curve/linesegment3d/)s.
- Circular arc segments shall be encoded as [Arc3d](https://www.itwinjs.org/reference/core-geometry/curve/arc3d/)s.
- Transition segments (spirals) shall be encoded as [TransitionSpiral3d](https://www.itwinjs.org/reference/core-geometry/curve/transitionspiral3d/)s.

The Z-coordinate of all of these primitives shall be zero.

Expand Down Expand Up @@ -78,11 +78,11 @@ A `VerticalAlignment` instance shall be contained in a `VerticalAlignmentModel`

A `VerticalAlignment` by default use the Domain-ranked `Vertical Alignment` Category.

A `VerticalAlignment` stores its visual geometry separately from geometry used for linear-referencing and design purposes, although the two could be identical. The former shall be stored in its `GeometryStream` whereas the latter shall be stored in the `VerticalGeometry` property, encoded as a [Path](https://www.itwinjs.org/reference/geometry-core/curve/path/). Each curve primitive in such *Path* describes a segment along the `VerticalAlignment` as follows:
A `VerticalAlignment` stores its visual geometry separately from geometry used for linear-referencing and design purposes, although the two could be identical. The former shall be stored in its `GeometryStream` whereas the latter shall be stored in the `VerticalGeometry` property, encoded as a [Path](https://www.itwinjs.org/reference/core-geometry/curve/path/). Each curve primitive in such *Path* describes a segment along the `VerticalAlignment` as follows:

- Linear segments shall be encoded as [LineSegment3d](https://www.itwinjs.org/reference/geometry-core/curve/linesegment3d/)s.
- Circular arc segments shall be encoded as [Arc3d](https://www.itwinjs.org/reference/geometry-core/curve/arc3d/)s.
- Transition segments (parabolic) shall be encoded as [BSplineCurve3d](https://www.itwinjs.org/reference/geometry-core/bspline/bsplinecurve3d/)s.
- Linear segments shall be encoded as [LineSegment3d](https://www.itwinjs.org/reference/core-geometry/curve/linesegment3d/)s.
- Circular arc segments shall be encoded as [Arc3d](https://www.itwinjs.org/reference/core-geometry/curve/arc3d/)s.
- Transition segments (parabolic) shall be encoded as [BSplineCurve3d](https://www.itwinjs.org/reference/core-geometry/bspline/bsplinecurve3d/)s.

The X-coordinate of all of these primitives shall indicate *distance along* measurements in terms of the corresponding `HorizontalAlignment`. That is, an X-coordinate = 0.0 corresponds to the start location of its `HorizontalAlignment`. Y-coordinates shall indicate *elevation* at such location. Z-coordinate of all of these primitives shall be zero.

Expand All @@ -98,4 +98,4 @@ Individual segments along the `VerticalAlignment` encoded as a *Path* are equiva

`AlignmentStation`s are linearly-located elements along an `Alignment`. They shall carry the *distance along* measurement in a `LinearlyReferencedAtLocation` aspect whereas the mapped *station value* shall be stored in their `Station` property. `Alignment`s shall define its initial *station value* in their `StartStation` property.

Equivalent to [IfcReferent](https://standards.buildingsmart.org/IFC/RELEASE/IFC4_3/HTML/lexical/IfcReferent.htm) with a non-zero `StartDistance` attribute and relative measurements used by linear-locations referencing it.
Equivalent to [IfcReferent](https://standards.buildingsmart.org/IFC/RELEASE/IFC4_3/HTML/lexical/IfcReferent.htm) with a non-zero `StartDistance` attribute and relative measurements used by linear-locations referencing it.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
| * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
| * See LICENSE.md in the project root for license terms and full copyright notice.
======================================================================================= -->
<ECSchema schemaName="CSPhysical" alias="csp" version="01.00.01" description="iModel Connector schema capturing application data from ConceptStation." xmlns="http://www.bentley.com/schemas/Bentley.ECXML.3.2">
<ECSchema schemaName="CSPhysical" alias="csp" version="01.00.02" description="iModel Connector schema capturing application data from ConceptStation." xmlns="http://www.bentley.com/schemas/Bentley.ECXML.3.2">

<ECSchemaReference name="BisCore" version="01.00.14" alias="bis"/>
<ECSchemaReference name="CoreCustomAttributes" version="01.00.03" alias="CoreCA"/>
Expand Down Expand Up @@ -59,6 +59,26 @@
<BaseClass>ConceptStationPhysicalElement</BaseClass>
</ECEntityClass>

<!-- Rail schema definintions -->
<ECEntityClass typeName="OLECantilever" modifier="Sealed" displayLabel="OLE Cantilever" description="A physical OLE Cantilever structure.">
<BaseClass>ConceptStationPhysicalElement</BaseClass>
</ECEntityClass>
<ECEntityClass typeName="OLEStructure" modifier="Sealed" displayLabel="OLE Structure" description="A physical OLE Structure.">
<BaseClass>ConceptStationPhysicalElement</BaseClass>
</ECEntityClass>
<ECEntityClass typeName="WireSpan" modifier="Sealed" displayLabel="Wire Span" description="A physical WireSpan structure.">
<BaseClass>ConceptStationPhysicalElement</BaseClass>
</ECEntityClass>
<ECEntityClass typeName="CorridorSegment" modifier="Sealed" displayLabel="Corridor Segment" description="A physical stretch of railway that groups all components across its width.">
<BaseClass>SegmentAssembly</BaseClass>
</ECEntityClass>
<ECEntityClass typeName="TrackSegment" modifier="Sealed" displayLabel="Track Segment" description="A physical stretch of railway that groups all components across its width.">
<BaseClass>SegmentAssembly</BaseClass>
</ECEntityClass>
<ECEntityClass typeName="TurnoutIntersection" modifier="Sealed" displayLabel="Turnout" description="A physical stretch of railway where two or more legs intersect.">
<BaseClass>SegmentAssembly</BaseClass>
</ECEntityClass>

<ECEntityClass typeName="PayItemQuantityAspect" displayLabel="Pay Item Quantity Aspect" description="A bis:ElementMultiAspect that stores common pay item data for ConceptStation elements.">
<BaseClass>bis:ElementMultiAspect</BaseClass>
<ECProperty propertyName="UnitCodeGroupLabel" displayLabel="Category" typeName="string" description="The label of the unit cost group."/>
Expand Down
2 changes: 1 addition & 1 deletion SchemaInventory.json
Original file line number Diff line number Diff line change
Expand Up @@ -4885,7 +4885,7 @@
"name": "CSPhysical",
"path": "Domains\\4-Application\\Connectors\\ConceptStation\\CSPhysical.ecschema.xml",
"released": false,
"version": "01.00.01",
"version": "01.00.02",
"comment": "Working Copy",
"sha1": "",
"author": "",
Expand Down

0 comments on commit 1917313

Please sign in to comment.