Class: When::TM::TopologicalComplex

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

Overview

位相複体 - 連結した位相プリミティブの集合

A temporal topology complex.

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

Attributes inherited from BasicTypes::Object

#label

Attributes included from Parts::Resource

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

Instance Method Summary collapse

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

#initialize(primitive) ⇒ TopologicalComplex

オブジェクトの生成

Parameters:



123
124
125
126
127
128
# File 'lib/when_exe/tmobjects.rb', line 123

def initialize(primitive)
  @primitive = primitive
  @primitive.each do |p|
    p.complex << self
  end
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class When::Parts::Resource

Instance Attribute Details

#primitiveArray<When::TM::TopologicalPrimitive> (readonly)

対応するプリミティブ (relation - Complex)



117
118
119
# File 'lib/when_exe/tmobjects.rb', line 117

def primitive
  @primitive
end