File

libs/sensorml/src/lib/model/sml/SpatialFrame.ts

Description

A general spatial Cartesian Reference Frame where the axes and origin will be defined textually relative to a physical component.

Extends

AbstractSWEIdentifiable

Index

Properties
Methods

Properties

axis
Type : Axis[]
Decorators :
@DisplayName('Axis')

Axis with name attribute and a textual description of the relationship of the axis to the physical device; the order of the axes listed determines their relationship according to the right-handed rule (e.g. axis 1 cross axis 2 = axis 3).

origin
Type : string
Decorators :
@DisplayName('Origin')

A textual description of the origin of the reference frame relative to the physical device (e.g. "the origin is at the point of attachment of the sensor to the platform").

description
Type : string
Decorators :
@DisplayName('Description')
Inherited from AbstractSWEIdentifiable

Textual description (i.e. human readable) of the data component usually used to clarify its nature

identifier
Type : string
Decorators :
@DisplayName('Identifier')
Inherited from AbstractSWEIdentifiable

Unique identifier of the data component. It can be used to globally identify a particular component of the dataset, a process input/output or a universal constant

label
Type : string
Decorators :
@DisplayName('Label')
Inherited from AbstractSWEIdentifiable

Textual label for the data component . This is often used for displaying a human readable name for a dataset field or a process input/output

extension
Type : any[]
Decorators :
@DisplayName('Extension')
Inherited from AbstractSWE
Defined in AbstractSWE:12

Extension slot for future extensions to this standard.

id
Type : string
Decorators :
@DisplayName('Id')
Inherited from AbstractSWE
Defined in AbstractSWE:7

Methods

toString
toString()
Returns : any
toString
toString(fallbackLabel: string)
Inherited from AbstractSWEIdentifiable
Parameters :
Name Type Optional Default value
fallbackLabel string No 'Abstract SWE identifiable'
Returns : string
toString
toString()
Inherited from AbstractSWE
Defined in AbstractSWE:14
Returns : string
import { AbstractSWEIdentifiable } from '../swe/AbstractSWEIdentifiable';
import { Axis } from './Axis';
import { DisplayName } from '../../common/decorators/DisplayName';

/**
 * A general spatial Cartesian Reference Frame where the axes and origin will be
 * defined textually relative to a physical component.
 */
export class SpatialFrame extends AbstractSWEIdentifiable {
    /**
     * A textual description of the origin of the reference frame relative to the
     * physical device (e.g. "the origin is at the point of attachment of the
     * sensor to the platform").
     */
    @DisplayName('Origin')
    origin: string;
    /**
     * Axis with name attribute and a textual description of the relationship of
     * the axis to the physical device; the order of the axes listed determines
     * their relationship according to the right-handed rule (e.g. axis 1 cross
     * axis 2 = axis 3).
     */
    @DisplayName('Axis')
    axis: Axis[];

    toString() {
        return super.toString('Spatial frame');
    }
}

result-matching ""

    No results matching ""