pylupnt.create_body

pylupnt.create_body(*args, **kwargs)

Overloaded function.

  1. create_body(id: pylupnt._pylupnt.BodyId, n: typing.SupportsInt | typing.SupportsIndex = 0, m: typing.SupportsInt | typing.SupportsIndex = 0) -> pylupnt._pylupnt.Body

Create a body from its identifier, optionally with an n x m gravity field.

  1. create_body(id: pylupnt._pylupnt.BodyId, units: pylupnt._pylupnt.UnitSystem, n: typing.SupportsInt | typing.SupportsIndex = 0, m: typing.SupportsInt | typing.SupportsIndex = 0) -> pylupnt._pylupnt.Body

Create a body in the given unit system, optionally with an n x m gravity field.