lsdo_genie.utils.data_visualizers
Module Contents
Functions
|
Plots and shows a 2D point cloud with normal vectors |
|
Plots and shows a 3D point cloud with normal vectors |
- lsdo_genie.utils.data_visualizers.visualize_2Dptcloud(points: numpy.ndarray, normals: numpy.ndarray, show_normals: bool = True, title: str = '2D Point cloud with normals', perc_normal_length: float = 5.0)
Plots and shows a 2D point cloud with normal vectors
- Parameters:
- pointsnp.ndarray(N,2)
The points in the poind cloud
- normalsnp.ndarray(N,2)
The normal vectors of the point cloud
- show_normalsbool
Show the normal vectors with a blue arrow
- titlestr
Title of the plot
- lsdo_genie.utils.data_visualizers.visualize_3Dptcloud(points: numpy.ndarray, normals: numpy.ndarray, show_normals: bool = True, title: str = '3D Point cloud with normals', perc_normal_length: float = 5.0)
Plots and shows a 3D point cloud with normal vectors
- Parameters:
- pointsnp.ndarray(N,3)
The points in the poind cloud
- normalsnp.ndarray(N,3)
The normal vectors of the point cloud
- show_normalsbool
Show the normal vectors with a blue arrow
- titlestr
Title of the plot