CFx SDK Documentation  2020SP3
Public Types | Public Member Functions | List of all members
OdDbPointCloudClipping Class Reference

#include <DbPointCloudClipping.h>

Public Types

enum  ClipType { CT_BOX = 1, CT_RECTANGLE = 2, CT_POLYLINE = 3 }
 

Public Member Functions

 OdDbPointCloudClipping ()
 
bool operator== (const OdDbPointCloudClipping &) const
 
bool isValid () const
 
OdInt16 length () const
 
void setBox (OdGePoint3d const &, OdGePoint3d const &)
 
void setRectangle (OdGePoint2d const &, OdGePoint2d const &)
 
void setBoundary (const OdGePoint2dArray &)
 
OdResult dwgInFields (OdDbDwgFiler *pFiler)
 
void dwgOutFields (OdDbDwgFiler *pFiler) const
 
OdResult dxfInFields (OdDbDxfFiler *pFiler)
 
void dxfOutFields (OdDbDxfFiler *pFiler, int &ind1, int &ind2, int &ind3) const
 
ClipType type () const
 
void setZMax (const double)
 
void setZMin (const double)
 
double zMax () const
 
double zMin () const
 
void setInverted (const bool)
 
bool isInverted () const
 
const OdGePoint2dArrayvertices () const
 

Detailed Description

This class represents clipping boundaries for point cloud entities.

Corresponding C++ library: AcDbPointCloudObj

<group OdDbPointCloud_Classes>

Definition at line 41 of file DbPointCloudClipping.h.

Member Enumeration Documentation

◆ ClipType

Defines clipping boundary types.

Enumerator
CT_BOX 
CT_RECTANGLE 
CT_POLYLINE 

Definition at line 47 of file DbPointCloudClipping.h.

Constructor & Destructor Documentation

◆ OdDbPointCloudClipping()

OdDbPointCloudClipping::OdDbPointCloudClipping ( )

Default constructor. Creates an OdDbPointCloudClipping instance.

Member Function Documentation

◆ dwgInFields()

OdResult OdDbPointCloudClipping::dwgInFields ( OdDbDwgFiler pFiler)

◆ dwgOutFields()

void OdDbPointCloudClipping::dwgOutFields ( OdDbDwgFiler pFiler) const

◆ dxfInFields()

OdResult OdDbPointCloudClipping::dxfInFields ( OdDbDxfFiler pFiler)

◆ dxfOutFields()

void OdDbPointCloudClipping::dxfOutFields ( OdDbDxfFiler pFiler,
int &  ind1,
int &  ind2,
int &  ind3 
) const

◆ isInverted()

bool OdDbPointCloudClipping::isInverted ( ) const

Returns true if only the boundary is inverted.

◆ isValid()

bool OdDbPointCloudClipping::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 OdDbPointCloudClipping::length ( ) const

Returns the number of vertices of this clipping boundary.

◆ operator==()

bool OdDbPointCloudClipping::operator== ( const OdDbPointCloudClipping ) const

◆ setBoundary()

void OdDbPointCloudClipping::setBoundary ( const OdGePoint2dArray )

Sets this clipping boundary to a polygonal clipping boundary with the specified vertices.

Parameters
points[in] - Array of vertices.

◆ setBox()

void OdDbPointCloudClipping::setBox ( OdGePoint3d const &  ,
OdGePoint3d const &   
)

Sets this clipping boundary to a parallelepiped clipping boundary with the specified diagonal vertices.

Parameters
p1[in] - First corner.
p2[in] - Second corner.

◆ setInverted()

void OdDbPointCloudClipping::setInverted ( const bool  )

Sets the boundary to inverted.

◆ setRectangle()

void OdDbPointCloudClipping::setRectangle ( OdGePoint2d const &  ,
OdGePoint2d const &   
)

Sets this clipping boundary to a rectangle clipping boundary with the specified diagonal vertices.

Parameters
p1[in] - First vertex.
p2[in] - Second vertex.

◆ setZMax()

void OdDbPointCloudClipping::setZMax ( const double  )

Sets the maximum value of Z-coordinate.

◆ setZMin()

void OdDbPointCloudClipping::setZMin ( const double  )

Sets the minimum value of Z-coordinate.

◆ type()

ClipType OdDbPointCloudClipping::type ( ) const

Returns the type of this clipping boundary.

◆ vertices()

const OdGePoint2dArray& OdDbPointCloudClipping::vertices ( ) const

Returns closed boundary

◆ zMax()

double OdDbPointCloudClipping::zMax ( ) const

Returns the minimum value of Z-coordinate.

◆ zMin()

double OdDbPointCloudClipping::zMin ( ) const

Returns the minimum value of Z-coordinate.


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