ostk.physics.environment.object.Geometry¶
- class Geometry(*args, **kwargs)¶
Bases:
pybind11_object
Geometry.
Overloaded function.
__init__(self: ostk.physics.environment.object.Geometry, arg0: ostk.mathematics.geometry.d3.object.Composite, arg1: ostk.physics.coordinate.Frame) -> None
__init__(self: ostk.physics.environment.object.Geometry, arg0: ostk.mathematics.geometry.d3.Object, arg1: ostk.physics.coordinate.Frame) -> None
Methods
Access composite.
Access frame.
Check if the geometry contains a point.
Get geometry expressed in a given frame.
Compute intersection of geometry with another geometry.
Check if the geometry intersects with another geometry.
Check if the geometry is defined.
Constructs an undefined geometry.
- access_composite( ) ostk.mathematics.geometry.d3.object.Composite ¶
Access composite.
- Returns:
Composite.
- Return type:
Composite
- access_frame( ) ostk.physics.coordinate.Frame ¶
Access frame.
- Returns:
Frame.
- Return type:
- contains( ) bool ¶
Check if the geometry contains a point.
- Parameters:
aPoint (Point) -- A point.
- Returns:
True if geometry contains point.
- Return type:
- in_frame(
- self: ostk.physics.environment.object.Geometry,
- arg0: ostk.physics.coordinate.Frame,
- arg1: ostk.physics.time.Instant,
- arg0: ostk.physics.coordinate.Frame,
Get geometry expressed in a given frame.
- intersection_with( ) ostk.physics.environment.object.Geometry ¶
Compute intersection of geometry with another geometry.
- is_defined(self: ostk.physics.environment.object.Geometry) bool ¶
Check if the geometry is defined.
- Returns:
True if defined.
- Return type:
- static undefined() ostk.physics.environment.object.Geometry ¶
Constructs an undefined geometry.
- Returns:
Undefined geometry.
- Return type: