Template:InheritSegmentTable: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
(syntax)
(railML→{{rml}})
 
Line 3: Line 3:
|intro={{{intro|2.5}}}
|intro={{{intro|2.5}}}
|semantics =
|semantics =
The element {{RS:Tag|segmentTable|{{{parent|FIXME}}}}} provides a flexible mechanism for description of segments of arbitrary curves y = ''f''(x) in RailML. In contrast to the {{RS:Tag|valueTable|{{{parent|FIXME}}}}} not particular points of the curve are defined but segments of a function representing the curve. The function used for modelling these curves is a polynomial expression of various order. Thus each line within this table has to be used as a recipe to build up the polynomial.
The element {{RS:Tag|segmentTable|{{{parent|FIXME}}}}} provides a flexible mechanism for description of segments of arbitrary curves y = ''f''(x) in {{rml}}. In contrast to the {{RS:Tag|valueTable|{{{parent|FIXME}}}}} not particular points of the curve are defined but segments of a function representing the curve. The function used for modelling these curves is a polynomial expression of various order. Thus each line within this table has to be used as a recipe to build up the polynomial.


The table consist of the informative details of name and unit of each coordinate within the related attributes of the element {{RS:Tag|segmentTable|{{{parent|FIXME}}}}}. The {{RS:Tag|columnHeader}} takes the exponent values needed for the polynomial. The corresponding values in the {{RS:Tag|valueLine}} represent the coefficients to be multiplied with. For a particular x-value the resulting P(x) can be calculated by this formula.
The table consist of the informative details of name and unit of each coordinate within the related attributes of the element {{RS:Tag|segmentTable|{{{parent|FIXME}}}}}. The {{RS:Tag|columnHeader}} takes the exponent values needed for the polynomial. The corresponding values in the {{RS:Tag|valueLine}} represent the coefficients to be multiplied with. For a particular x-value the resulting P(x) can be calculated by this formula.

Latest revision as of 22:04, 22 January 2024

Usage

This is an Element Template. Element templates are intended to avoid routine work in railML® element documentation. These templates are very specific and are therefore documented uniformely by Template:TemplateDocu. They are collected in Category:Element Template and are based on Template:ElementDocu. They represent Template:ElementDoku with specific values and hand all other parameters through to Template:ElementDoku. If you want to use or handle an Element Template, you have to examine the code to find out, which arguments are set, and you have to be careful, because occationally arguments will be renamed, so that the use of argument names of Template ElementDoku may cause errors.

Arguments

As this is a bulk documentation, we do not explain the specific arguments of element templates.

Dependencies

As this is a bulk documentation, we do not explain the specific dependencies of element templates. You can find out, which other templates the current template supports by following this link. You can find out easily, which other templates the current template employs, as templates are included via {{doubble braces}}.

Example

As this is a bulk documentation, we do not offer specific examples of element templates. You can find in the field examples by following this link.