qCC version 2.13.alpha (Qt) - 31 May 2022
Main CloudCompare application (GUI & command line)
Static Public Member Functions | List of all members
ccCropTool Class Reference

Cropping tool. More...

#include <ccCropTool.h>

Static Public Member Functions

static ccHObject * Crop (ccHObject *entity, const ccBBox &box, bool inside=true, const ccGLMatrix *meshRotation=nullptr)
 Crops the input entity. More...
 

Detailed Description

Cropping tool.

Handles clouds and meshes for now

Member Function Documentation

◆ Crop()

ccHObject * ccCropTool::Crop ( ccHObject *  entity,
const ccBBox &  box,
bool  inside = true,
const ccGLMatrix *  meshRotation = nullptr 
)
static

Crops the input entity.

Parameters
entityentity to be cropped (should be a cloud or a mesh)
boxcropping box
insidewhether to keep the points/triangles inside or outside the input box
meshRotationoptional rotation (for meshes only)
Returns
cropped entity (if any)

The documentation for this class was generated from the following files: