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 Namespace

Namespace::DC, Namespace::DCQ, Namespace::DCT, Namespace::FOAF, Namespace::OWL, Namespace::RDF, Namespace::RDFC, Namespace::RDFS, Namespace::RSS, Namespace::XSD

Instance Attribute Summary collapse

Attributes inherited from BasicTypes::Object

#label

Attributes included from Parts::Resource

#child, #keys, #locale, #namespace

Instance Method Summary collapse

Methods included from Parts::Resource

#[], #^, _instance, _setup_, _setup_info, base_uri, #each, #enum_for, #hierarchy, #include?, #included?, #iri, #leaf?, #m17n, #map, #parent, #registered?, root_dir

Methods included from Parts::Resource::Pool

#[], #[]=, #_setup_

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