Rhino C++ API  9.0
Public Types | Public Member Functions | Public Attributes | List of all members
OverlapProxyIndex Class Reference

#include <rhinoSdkOverlap.h>

Public Types

typedef void * SegmentIndex
 

Public Member Functions

 OverlapProxyIndex (const ON_SimpleArray< const ON_Object * > &obj, const ON_Xform &proj, double tol)
 
void free_proxy (int, bool)
 
ON_BoundingBox get_bounding_box (int) const
 
bool get_projected_segment (SegmentIndex, ON_Line &line_out, int &object_out, int &segment_out, double *) const
 Gets the actual geometry - proxied or not - associated with an index. More...
 
template<typename Callback >
void iterate_object (int, Callback)
 
int subobject_count (int) const
 Return the number of subobjects in the object at this index. More...
 
ON_COMPONENT_INDEX::TYPE subobject_type (int) const
 

Public Attributes

std::vector< std::unique_ptr< ON_PolyCurve > > m_flattened
 

Member Typedef Documentation

◆ SegmentIndex

Constructor & Destructor Documentation

◆ OverlapProxyIndex()

OverlapProxyIndex::OverlapProxyIndex ( const ON_SimpleArray< const ON_Object * > &  obj,
const ON_Xform proj,
double  tol 
)
inline

Member Function Documentation

◆ free_proxy()

void OverlapProxyIndex::free_proxy ( int  ,
bool   
)

◆ get_bounding_box()

ON_BoundingBox OverlapProxyIndex::get_bounding_box ( int  ) const

◆ get_projected_segment()

bool OverlapProxyIndex::get_projected_segment ( SegmentIndex  ,
ON_Line line_out,
int &  object_out,
int &  segment_out,
double *   
) const

Gets the actual geometry - proxied or not - associated with an index.

◆ subobject_count()

int OverlapProxyIndex::subobject_count ( int  ) const

Return the number of subobjects in the object at this index.

◆ subobject_type()

ON_COMPONENT_INDEX::TYPE OverlapProxyIndex::subobject_type ( int  ) const

Member Data Documentation

◆ m_flattened

std::vector<std::unique_ptr<ON_PolyCurve> > OverlapProxyIndex::m_flattened