Class: When::TM::Node

Inherits:
TopologicalPrimitive show all
Defined in:
lib/when_exe/tmobjects.rb

Overview

零次元位相プリミティブ - 幾何的実現は When::TM::Instant と対応する

see gml schema

Constant Summary

Constants included from Parts::Resource

Parts::Resource::ConstList, Parts::Resource::ConstTypes, Parts::Resource::IRIDecode, Parts::Resource::IRIDecodeTable, Parts::Resource::IRIEncode, Parts::Resource::IRIEncodeTable, Parts::Resource::IRIHeader, Parts::Resource::LabelProperty

Instance Attribute Summary collapse

Attributes inherited from TopologicalPrimitive

#complex

Attributes inherited from BasicTypes::Object

#label

Attributes included from Parts::Resource

#_pool, #child, #keys, #locale, #namespace

Instance Method Summary collapse

Methods included from Order

#relative_position

Methods included from Parts::Resource

#[], #^, _abbreviation_to_iri, _decode, _encode, _extract_prefix, _instance, _instantiate, _parse, _path_with_prefix, _replace_tags, _setup_, _setup_info, _simplify_path, base_uri, #each, #enum_for, #hierarchy, #include?, #included?, #iri, #leaf?, #m17n, #map, #next, #parent, #prev, #registered?, root_dir

Methods included from Parts::Resource::Pool

#[], #[]=, #_pool, #_setup_, #pool_keys

Methods included from Parts::Resource::Synchronize

#synchronize

Constructor Details

#initialize(geometry) ⇒ Node

オブジェクトの生成

Parameters:



477
478
479
480
481
482
483
# File 'lib/when_exe/tmobjects.rb', line 477

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

#geometryWhen::TM::Instant (readonly)

対応する瞬間 (relation - Realization)

Returns:



471
472
473
# File 'lib/when_exe/tmobjects.rb', line 471

def geometry
  @geometry
end

#next_edgeArray<When::TM::Edge> (readonly) Also known as: nextEdge

対応するエッジ (relation - Initiation)

Returns:



464
465
466
# File 'lib/when_exe/tmobjects.rb', line 464

def next_edge
  @next_edge
end

#previous_edgeArray<When::TM::Edge> (readonly) Also known as: previousEdge

対応するエッジ (relation - Termination)

Returns:



457
458
459
# File 'lib/when_exe/tmobjects.rb', line 457

def previous_edge
  @previous_edge
end