Class: When::TM::TopologicalPrimitive

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

Overview

時間位相プリミティブ - 単独で不可分な位相要素

see gml schema

Direct Known Subclasses

Edge, Node

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

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 inherited from BasicTypes::Object

#tap

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

#synchronize

Constructor Details

#initializeTopologicalPrimitive

オブジェクトの生成



405
406
407
# File 'lib/when_exe/tmobjects.rb', line 405

def initialize
  @complex = []
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(name, *args, &block) ⇒ Object (private)

Note:

When::TM::TopologicalPrimitive で定義されていないメソッドは 処理を @geometry (type: When::TM::Instant) に委譲する

その他のメソッド



417
418
419
# File 'lib/when_exe/tmobjects.rb', line 417

def method_missing(name, *args, &block)
  @geometry.send(name.to_sym, *args, &block)
end

Instance Attribute Details

#complexArray<When::TM::TopologicalComplex>

対応するコンプレックス (relation - Complex)



400
401
402
# File 'lib/when_exe/tmobjects.rb', line 400

def complex
  @complex
end