Class: Google::Apis::VectortileV1::Vertex3DList
- Inherits:
-
Object
- Object
- Google::Apis::VectortileV1::Vertex3DList
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/vectortile_v1/classes.rb,
generated/google/apis/vectortile_v1/representations.rb,
generated/google/apis/vectortile_v1/representations.rb
Overview
3D vertex list used for modeled volumes. Each entry represents an offset from the previous one in local tile coordinates. The first coordinate is offset from (0, 0, 0).
Instance Attribute Summary collapse
-
#x_offsets ⇒ Array<Fixnum>
List of x-offsets in local tile coordinates.
-
#y_offsets ⇒ Array<Fixnum>
List of y-offsets in local tile coordinates.
-
#z_offsets ⇒ Array<Fixnum>
List of z-offsets in local tile coordinates.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Vertex3DList
constructor
A new instance of Vertex3DList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Vertex3DList
Returns a new instance of Vertex3DList.
841 842 843 |
# File 'generated/google/apis/vectortile_v1/classes.rb', line 841 def initialize(**args) update!(**args) end |
Instance Attribute Details
#x_offsets ⇒ Array<Fixnum>
List of x-offsets in local tile coordinates.
Corresponds to the JSON property xOffsets
829 830 831 |
# File 'generated/google/apis/vectortile_v1/classes.rb', line 829 def x_offsets @x_offsets end |
#y_offsets ⇒ Array<Fixnum>
List of y-offsets in local tile coordinates.
Corresponds to the JSON property yOffsets
834 835 836 |
# File 'generated/google/apis/vectortile_v1/classes.rb', line 834 def y_offsets @y_offsets end |
#z_offsets ⇒ Array<Fixnum>
List of z-offsets in local tile coordinates.
Corresponds to the JSON property zOffsets
839 840 841 |
# File 'generated/google/apis/vectortile_v1/classes.rb', line 839 def z_offsets @z_offsets end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
846 847 848 849 850 |
# File 'generated/google/apis/vectortile_v1/classes.rb', line 846 def update!(**args) @x_offsets = args[:x_offsets] if args.key?(:x_offsets) @y_offsets = args[:y_offsets] if args.key?(:y_offsets) @z_offsets = args[:z_offsets] if args.key?(:z_offsets) end |