Class: When::TM::Edge
- Inherits:
-
TopologicalPrimitive
- Object
- BasicTypes::Object
- Object
- Primitive
- TopologicalPrimitive
- When::TM::Edge
- Defined in:
- lib/when_exe/tmobjects.rb
Overview
一次元位相プリミティブ - 幾何的実現は When::TM::Period と対応する
see gml schema
Constant Summary
Constants included from Parts::Resource
Parts::Resource::LabelProperty
Instance Attribute Summary collapse
-
#end ⇒ When::TM::Node
readonly
対応するノード (relation - Termination).
-
#geometry ⇒ When::TM::Period
readonly
対応する期間 (relation - Realization).
-
#start ⇒ When::TM::Node
readonly
対応するノード (relation - Initiation).
Attributes inherited from TopologicalPrimitive
Attributes inherited from BasicTypes::Object
Attributes included from Parts::Resource
#_pool, #child, #keys, #locale, #namespace
Instance Method Summary collapse
-
#initialize(start, ended) ⇒ Edge
constructor
オブジェクトの生成.
Methods included from Order
Methods inherited from BasicTypes::Object
Methods included from Parts::Resource
#[], #^, _extract_prefix, _instance, _parse, _path_with_prefix, _setup_, #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(start, ended) ⇒ Edge
オブジェクトの生成
493 494 495 496 497 498 499 500 501 |
# File 'lib/when_exe/tmobjects.rb', line 493 def initialize(start, ended) super() @start = start @end = ended @geometry = Period.new(@start.geometry, @end.geometry) @geometry.topology = self @start.next_edge << self @end.previous_edge << self end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class When::TM::TopologicalPrimitive
Instance Attribute Details
#end ⇒ When::TM::Node (readonly)
対応するノード (relation - Termination)
473 474 475 |
# File 'lib/when_exe/tmobjects.rb', line 473 def end @end end |
#geometry ⇒ When::TM::Period (readonly)
対応する期間 (relation - Realization)
485 486 487 |
# File 'lib/when_exe/tmobjects.rb', line 485 def geometry @geometry end |
#start ⇒ When::TM::Node (readonly)
対応するノード (relation - Initiation)
479 480 481 |
# File 'lib/when_exe/tmobjects.rb', line 479 def start @start end |