kittycad.models.point2d
Classes
|
A point in 2D space |
- class kittycad.models.point2d.Point2d(x=<kittycad.types.Unset object>, y=<kittycad.types.Unset object>)[source][source]
A point in 2D space
Method generated by attrs for class Point2d.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'x': typing.Union[kittycad.types.Unset, float], 'y': typing.Union[kittycad.types.Unset, float]}[source]
- __attrs_attrs__ = (Attribute(name='x', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, float], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='x'), Attribute(name='y', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, float], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='y'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.point2d', '__annotations__': {'x': typing.Union[kittycad.types.Unset, float], 'y': typing.Union[kittycad.types.Unset, float], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'A point in 2D space', 'to_dict': <function Point2d.to_dict>, 'from_dict': <classmethod(<function Point2d.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function Point2d.__getitem__>, '__setitem__': <function Point2d.__setitem__>, '__delitem__': <function Point2d.__delitem__>, '__contains__': <function Point2d.__contains__>, '__dict__': <attribute '__dict__' of 'Point2d' objects>, '__weakref__': <attribute '__weakref__' of 'Point2d' objects>, '__attrs_attrs__': (Attribute(name='x', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, float], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='x'), Attribute(name='y', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, float], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='y'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function Point2d.__repr__>, '__eq__': <function Point2d.__eq__>, '__ne__': <function Point2d.__ne__>, '__lt__': <function Point2d.__lt__>, '__le__': <function Point2d.__le__>, '__gt__': <function Point2d.__gt__>, '__ge__': <function Point2d.__ge__>, '__hash__': None, '__init__': <function Point2d.__init__>, '__match_args__': ('x', 'y')})[source]