aerocaps.geom.plane.Plane#
- class Plane(p0: Point3D, p1: Point3D, p2: Point3D)[source]#
Bases:
objectMethods
Computes the unit vector normal to the plane
plane_parallel_X(distance_from_origin)plane_parallel_Y(distance_from_origin)plane_parallel_Z(distance_from_origin)plot(plot[, plane_kwargs, mesh_kwargs])Plots the plane on the scene
Attributes
origin- compute_normal() Vector3D[source]#
Computes the unit vector normal to the plane
- Returns:
Unit normal vector
- Return type:
- plot(plot: Plotter, plane_kwargs: dict = None, mesh_kwargs: dict = None) PolyData[source]#
Plots the plane on the scene
- Parameters:
plot –
pyvista.Plotterinstanceplane_kwargs – Keyword arguments to pass to the
pyvista.Planeconstructor. Default:Nonemesh_kwargs – Keyword arguments to pass to
pyvista.Plotter.add_mesh. Default:None
- Returns:
The plane mesh object
- Return type:
pv.PolyData