PolyLine2D
Represents a polyline in two-dimensional space.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| start_point | Point2D | [optional] | |
| segments | List[Segment2D] | Gets segments of `PolyLine2D`. | [optional] |
Example
from ideastatica_connection_api.models.poly_line2_d import PolyLine2D
# TODO update the JSON string below
json = "{}"
# create an instance of PolyLine2D from a JSON string
poly_line2_d_instance = PolyLine2D.from_json(json)
# print the JSON string representation of the object
print(poly_line2_d_instance.to_json())
# convert the object into a dict
poly_line2_d_dict = poly_line2_d_instance.to_dict()
# create an instance of PolyLine2D from a dict
poly_line2_d_from_dict = PolyLine2D.from_dict(poly_line2_d_dict)