pub struct Location<'a>(pub &'a Object);Expand description
The place, scene, or point of something where someone or something has been, is, and/or will be at a given moment in time. It can be defined with one or more postition points (coordinates) in a given coordinate system.
Tuple Fields§
§0: &'a ObjectImplementations§
Source§impl<'a> Location<'a>
impl<'a> Location<'a>
pub fn energy_ident_code_eic(&self) -> Option<&'a str>
Sourcepub fn short_name(&self) -> Option<&'a str>
pub fn short_name(&self) -> Option<&'a str>
The attribute is used for an exchange of a human readable short name with length of the string 12 characters maximum.
Sourcepub fn diagram_objects(
&self,
) -> impl Iterator<Item = TypedRef<DiagramObject<'static>>> + use<'a>
pub fn diagram_objects( &self, ) -> impl Iterator<Item = TypedRef<DiagramObject<'static>>> + use<'a>
The domain object to which this diagram object is associated.
Sourcepub fn diagram_objects_in<'d>(
&self,
dataset: &'d Dataset,
) -> impl Iterator<Item = DiagramObject<'d>> + use<'a, 'd>
pub fn diagram_objects_in<'d>( &self, dataset: &'d Dataset, ) -> impl Iterator<Item = DiagramObject<'d>> + use<'a, 'd>
Resolve every DiagramObjects through dataset, skipping unresolved references.
Sourcepub fn description(&self) -> Option<&'a str>
pub fn description(&self) -> Option<&'a str>
The description is a free human readable text describing or naming the object. It may be non unique and may not correlate to a naming hierarchy.
Sourcepub fn m_rid(&self) -> Option<&'a str>
pub fn m_rid(&self) -> Option<&'a str>
Master resource identifier issued by a model authority. The mRID is globally unique within an exchange context. Global uniqueness is easily achieved by using a UUID, as specified in RFC 4122, for the mRID. The use of UUID is strongly recommended. For CIMXML data files in RDF syntax conforming to IEC 61970-552 Edition 1, the mRID is mapped to rdf:ID or rdf:about attributes that identify CIM object elements.
Sourcepub fn name(&self) -> Option<&'a str>
pub fn name(&self) -> Option<&'a str>
The name is any free human readable and possibly non unique text naming the object.
Sourcepub fn coordinate_system(&self) -> Option<TypedRef<CoordinateSystem<'static>>>
pub fn coordinate_system(&self) -> Option<TypedRef<CoordinateSystem<'static>>>
Coordinate system used to describe position points of this location.
Sourcepub fn coordinate_system_in<'d>(
&self,
dataset: &'d Dataset,
) -> Option<CoordinateSystem<'d>>
pub fn coordinate_system_in<'d>( &self, dataset: &'d Dataset, ) -> Option<CoordinateSystem<'d>>
Resolve CoordinateSystem through dataset.
Sourcepub fn position_points(
&self,
) -> impl Iterator<Item = TypedRef<PositionPoint<'static>>> + use<'a>
pub fn position_points( &self, ) -> impl Iterator<Item = TypedRef<PositionPoint<'static>>> + use<'a>
Sequence of position points describing this location, expressed in coordinate system ‘Location.CoordinateSystem’.
Sourcepub fn position_points_in<'d>(
&self,
dataset: &'d Dataset,
) -> impl Iterator<Item = PositionPoint<'d>> + use<'a, 'd>
pub fn position_points_in<'d>( &self, dataset: &'d Dataset, ) -> impl Iterator<Item = PositionPoint<'d>> + use<'a, 'd>
Resolve every PositionPoints through dataset, skipping unresolved references.
Sourcepub fn power_system_resources(
&self,
) -> Option<TypedRef<PowerSystemResource<'static>>>
pub fn power_system_resources( &self, ) -> Option<TypedRef<PowerSystemResource<'static>>>
All power system resources at this location.
Sourcepub fn power_system_resources_in<'d>(
&self,
dataset: &'d Dataset,
) -> Option<PowerSystemResource<'d>>
pub fn power_system_resources_in<'d>( &self, dataset: &'d Dataset, ) -> Option<PowerSystemResource<'d>>
Resolve PowerSystemResources through dataset.