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
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, _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(geometry) ⇒ Node
オブジェクトの生成
454 455 456 457 458 459 460 |
# File 'lib/when_exe/tmobjects.rb', line 454 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)
448 449 450 |
# File 'lib/when_exe/tmobjects.rb', line 448 def geometry @geometry end |
#next_edge ⇒ Array<When::TM::Edge> (readonly) Also known as: nextEdge
対応するエッジ (relation - Initiation)
441 442 443 |
# File 'lib/when_exe/tmobjects.rb', line 441 def next_edge @next_edge end |
#previous_edge ⇒ Array<When::TM::Edge> (readonly) Also known as: previousEdge
対応するエッジ (relation - Termination)
434 435 436 |
# File 'lib/when_exe/tmobjects.rb', line 434 def previous_edge @previous_edge end |