PLYProcessing

Constructors

Link copied to clipboard
constructor(points: MutableList<PointCloudVertex>)

Types

Link copied to clipboard
data class BoxResult(val centerOriginal: Vector3, val bestAngle: Float, val extent: Vector3)
Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Calculate the geometric center of a point cloud

Link copied to clipboard
fun findMinimumVolumeBox(angleStep: Float = 1.0f, boundOffset: Vector3 = Vector3(0f, 0f, 0f)): PLYProcessing.BoxResult

Computes the minimum volume bounding box by rotating the point cloud around the Y axis. Returns the box center in the original orientation, the rotation angle applied and the extent of the box.

Link copied to clipboard

Convenience helper to get the dimension values from the full pipeline.

Link copied to clipboard
fun getObjectCluster(tappedPoint: Vector3, radius: Float = 0.25f): PLYProcessing

Extracts the cluster of points near the provided position using a simple radius based search. This is a stand‑in for the more advanced clustering

Link copied to clipboard
Link copied to clipboard