Class: Idml::Elements::GeometryPathType

Inherits:
Lutaml::Model::Serializable
  • Object
show all
Defined in:
lib/idml/elements/geometry_path_type.rb

Overview

<GeometryPathType> — a single path within a PathGeometry. Contains a PathPointArray and a PathOpen flag (true = open path, false = closed path).

Instance Method Summary collapse

Instance Method Details

#pointsObject



19
20
21
# File 'lib/idml/elements/geometry_path_type.rb', line 19

def points
  path_point_array.flat_map(&:path_point_type)
end