CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
OdDbPointCloudCropping Class Reference

#include <DbPointCloudCropping.h>

Public Types

enum  CropType { CT_INVALID = 0 , CT_RECTANGLE , CT_POLYLINE , CT_CIRCULAR }
 

Public Member Functions

 OdDbPointCloudCropping ()
 
bool operator== (const OdDbPointCloudCropping &) const
 
bool isValid () const
 
OdInt16 length () const
 
CropType type () const
 
void setCropType (CropType type)
 
void setInverted (const bool)
 
bool isInverted () const
 
const OdGePoint3dArray & get () const
 
void set (const OdGePoint3dArray &points)
 
bool getCropPlane (OdGePlane &plane) const
 
void setCropPlane (const OdGePlane &plane)
 
void setInside (const bool)
 
bool isInside () const
 
void clear ()
 
virtual void draw (OdGiGeometry &geom)
 
OdResult dwgInFields (OdDbDwgFiler *pFiler)
 
void dwgOutFields (OdDbDwgFiler *pFiler) const
 
OdResult dxfInFields (OdDbDxfFiler *pFiler)
 
void dxfOutFields (OdDbDxfFiler *pFiler, OdInt16 &dvfInt8, OdInt16 &dxfInt32, OdInt16 &dxfXCoord, OdInt16 &dxfNormalX) const
 

Detailed Description

This class represents cropping boundaries for point cloud entities.

Corresponding C++ library: AcDbPointCloudObj

<group OdDbPointCloud_Classes>

Definition at line 44 of file DbPointCloudCropping.h.

Member Enumeration Documentation

◆ CropType

Defines cropping boundary types.

Enumerator
CT_INVALID 
CT_RECTANGLE 
CT_POLYLINE 
CT_CIRCULAR 

Definition at line 50 of file DbPointCloudCropping.h.

Constructor & Destructor Documentation

◆ OdDbPointCloudCropping()

OdDbPointCloudCropping::OdDbPointCloudCropping ( )

Default constructor. Creates an OdDbPointCloudCropping instance.

Member Function Documentation

◆ clear()

void OdDbPointCloudCropping::clear ( )

◆ draw()

virtual void OdDbPointCloudCropping::draw ( OdGiGeometry &  geom)
virtual

◆ dwgInFields()

OdResult OdDbPointCloudCropping::dwgInFields ( OdDbDwgFiler *  pFiler)

◆ dwgOutFields()

void OdDbPointCloudCropping::dwgOutFields ( OdDbDwgFiler *  pFiler) const

◆ dxfInFields()

OdResult OdDbPointCloudCropping::dxfInFields ( OdDbDxfFiler *  pFiler)

◆ dxfOutFields()

void OdDbPointCloudCropping::dxfOutFields ( OdDbDxfFiler *  pFiler,
OdInt16 &  dvfInt8,
OdInt16 &  dxfInt32,
OdInt16 &  dxfXCoord,
OdInt16 &  dxfNormalX 
) const

◆ get()

const OdGePoint3dArray & OdDbPointCloudCropping::get ( ) const

Returns closed boundary

◆ getCropPlane()

bool OdDbPointCloudCropping::getCropPlane ( OdGePlane &  plane) const

◆ isInside()

bool OdDbPointCloudCropping::isInside ( ) const

◆ isInverted()

bool OdDbPointCloudCropping::isInverted ( ) const

Returns true if only the boundary is inverted.

◆ isValid()

bool OdDbPointCloudCropping::isValid ( ) const

Check whether the boundary is valid. Returns true only if a number of vertices matches the boundary type: box or rectangular boundary must have two vertices, polygonal - at least 3 vertices.

◆ length()

OdInt16 OdDbPointCloudCropping::length ( ) const

Returns the number of vertices of this cropping boundary.

◆ operator==()

bool OdDbPointCloudCropping::operator== ( const OdDbPointCloudCropping &  ) const

◆ set()

void OdDbPointCloudCropping::set ( const OdGePoint3dArray &  points)

Returns closed boundary

◆ setCropPlane()

void OdDbPointCloudCropping::setCropPlane ( const OdGePlane &  plane)

◆ setCropType()

void OdDbPointCloudCropping::setCropType ( CropType  type)

Set type of this cropping boundary.

◆ setInside()

void OdDbPointCloudCropping::setInside ( const bool  )

◆ setInverted()

void OdDbPointCloudCropping::setInverted ( const bool  )

Sets the boundary to inverted.

◆ type()

CropType OdDbPointCloudCropping::type ( ) const

Returns the type of this cropping boundary.


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