12/18/2022 0 Comments Gmsh offset![]() ![]() ![]() Vertices – Points in the PointCloud Return type Open a viewer window displaying the current PointCloud property vertices Shape – Shape of vertex array Return type Scene – Scene object containing this PointCloud Return type :type result: proximity.NearestQueryResult scene ( ) Ī scene containing just the PointCloud Returns :param kwargs: Arguments for proximity.query_from_points Merge vertices closer than tol.merge (default: 1e-8) query ( input_points, ** kwargs ) įind the the closest points and associated attributes from this PointCloud. Tree – Contains mesh.vertices Return type Not cached as this lead to observed memory issues and segfaults. ReturnsĮmpty – True if no vertices defined Return type ReturnsĪre there any vertices defined or not. The size of the axis aligned bounds ReturnsĮxtents – Edge length of axis aligned bounding box Return type If file name is passed this is not required property extents None, if you would like this function to return the export blob Parametersįile_type ( str) – Which file type to export as. :param file_obj: str, file name where to save the pointcloud If file_obj is a filename, file will be written there. Int export ( file_obj = None, file_type = None, ** kwargs ) Įxport the current pointcloud to a file object. ReturnsĬopied – Copy of current point cloud Return type ![]() Issues and so may be slow on initial operations untilĬurrent object will not have its cache cleared. Safely get a copy of the current point cloud.Ĭopied objects will have emptied caches to avoid memory (len(self.vertices), 4) np.uint8 property convex_hull Ĭonvex_hull – A watertight mesh of the hull of the points Return type The axis aligned bounds of the PointCloud Returnsīounds – Minimum, Maximum verteex Return typeĬentroid – Mean vertex position Return typeĬolors – Per- point RGBA color Return type Transform ( ( 4, 4 ) float) – Homogeneous transformation to apply to PointCloud property bounds Metadata ( dict or None) – Metadata about pointsĪpply a homogeneous transformation to the PointCloud Vertices ( ( n, 3 ) float) – Points in spaceĬolors ( ( n, 4 ) uint8 or None) – RGBA colors for each point Load an array of points into a PointCloud object. _init_ ( vertices, colors = None, metadata = None, ** kwargs ) Hold 3D points in an object which can be visualized PointCloud ( vertices, colors = None, metadata = None, ** kwargs ) Provide a fully featured Trimesh object which allows for easy manipulationĪnd analysis, in the style of the Polygon object in the Shapely library. Meshes with an emphasis on watertight meshes. Trimesh is a pure Python (2.7- 3.3+) library for loading and using triangular ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |