LibreCAD
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
lc::HasIntersectAgainstOthers Class Reference

calculate intersection points of many entities but beal out asap when a intersection point was found More...

#include <intersect.h>

Public Member Functions

 HasIntersectAgainstOthers (std::vector< entity::CADEntity_CSPtr >, std::vector< entity::CADEntity_CSPtr >, Intersect::Method, double tolerance)
 
bool result () const
 

Private Attributes

std::vector
< entity::CADEntity_CSPtr > 
_entities
 
std::vector
< entity::CADEntity_CSPtr > 
_others
 
const Intersect::Method _method
 
const double _tolerance
 

Detailed Description

calculate intersection points of many entities but beal out asap when a intersection point was found

Note
Can we make this into a general template ???
See also
Intersect

Definition at line 221 of file intersect.h.

Constructor & Destructor Documentation

lc::HasIntersectAgainstOthers::HasIntersectAgainstOthers ( std::vector< entity::CADEntity_CSPtr >  ,
std::vector< entity::CADEntity_CSPtr >  ,
Intersect::Method  ,
double  tolerance 
)

Member Function Documentation

bool lc::HasIntersectAgainstOthers::result ( ) const

Member Data Documentation

std::vector<entity::CADEntity_CSPtr> lc::HasIntersectAgainstOthers::_entities
private

Definition at line 229 of file intersect.h.

const Intersect::Method lc::HasIntersectAgainstOthers::_method
private

Definition at line 231 of file intersect.h.

std::vector<entity::CADEntity_CSPtr> lc::HasIntersectAgainstOthers::_others
private

Definition at line 230 of file intersect.h.

const double lc::HasIntersectAgainstOthers::_tolerance
private

Definition at line 232 of file intersect.h.


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