Class: When::TM::Node
- Inherits:
-
TopologicalPrimitive
- Object
- BasicTypes::Object
- Object
- Primitive
- TopologicalPrimitive
- When::TM::Node
- Defined in:
- lib/when_exe/tmobjects.rb
Overview
零次元位相プリミティブ - 幾何的実現は When::TM::Instant と対応する
see gml schema
Constant Summary
Constants included from Parts::Resource
Parts::Resource::LabelProperty, Parts::Resource::Prefix, Parts::Resource::PrefixIndex, Parts::Resource::PrefixKeys, Parts::Resource::PrefixValues
Instance Attribute Summary collapse
-
#geometry ⇒ When::TM::Instant
readonly
対応する瞬間 (relation - Realization).
-
#next_edge ⇒ Array<When::TM::Edge>
(also: #nextEdge)
readonly
対応するエッジ (relation - Initiation).
-
#previous_edge ⇒ Array<When::TM::Edge>
(also: #previousEdge)
readonly
対応するエッジ (relation - Termination).
Attributes inherited from TopologicalPrimitive
Attributes inherited from BasicTypes::Object
Attributes included from Parts::Resource
#_pool, #child, #keys, #locale, #namespace
Instance Method Summary collapse
-
#initialize(geometry) ⇒ Node
constructor
オブジェクトの生成.
Methods included from Order
Methods inherited from BasicTypes::Object
Methods included from Parts::Resource
#[], #^, _extract_prefix, _instance, _parse, _path_with_prefix, #each, #enum_for, #hierarchy, #include?, #included?, #iri, #leaf?, #m17n, #map, #next, #parent, #prev, #registered?
Methods included from Parts::Resource::Pool
#[], #[]=, #_pool, #_setup_, #pool_keys
Methods included from Parts::Resource::Synchronize
Constructor Details
#initialize(geometry) ⇒ Node
オブジェクトの生成
452 453 454 455 456 457 458 |
# File 'lib/when_exe/tmobjects.rb', line 452 def initialize(geometry) super() @previous_edge = [] @next_edge = [] @geometry = geometry @geometry.topology = self end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class When::TM::TopologicalPrimitive
Instance Attribute Details
#geometry ⇒ When::TM::Instant (readonly)
対応する瞬間 (relation - Realization)
446 447 448 |
# File 'lib/when_exe/tmobjects.rb', line 446 def geometry @geometry end |
#next_edge ⇒ Array<When::TM::Edge> (readonly) Also known as: nextEdge
対応するエッジ (relation - Initiation)
439 440 441 |
# File 'lib/when_exe/tmobjects.rb', line 439 def next_edge @next_edge end |
#previous_edge ⇒ Array<When::TM::Edge> (readonly) Also known as: previousEdge
対応するエッジ (relation - Termination)
432 433 434 |
# File 'lib/when_exe/tmobjects.rb', line 432 def previous_edge @previous_edge end |