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

#label

Attributes included from Parts::Resource

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

Instance Method Summary collapse

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(primitive) ⇒ TopologicalComplex

オブジェクトの生成

Parameters:



125
126
127
128
129
130
# File 'lib/when_exe/tmobjects.rb', line 125

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)



119
120
121
# File 'lib/when_exe/tmobjects.rb', line 119

def primitive
  @primitive
end