BRL-CAD
CurvePoint Class Reference

Public Types

enum  Location { BOUNDARY, INSIDE, OUTSIDE }
 

Public Member Functions

 CurvePoint (int loop, int li, double pt_t, ON_Curve *curve, const ON_SimpleArray< ON_Curve * > &other_loop)
 
 CurvePoint (int loop, int li, double t, ON_2dPoint p, CurvePoint::Location l)
 
bool operator< (const CurvePoint &other) const
 
bool operator== (const CurvePoint &other) const
 
bool operator!= (const CurvePoint &other) const
 

Static Public Member Functions

static CurvePoint::Location PointLoopLocation (ON_2dPoint pt, const ON_SimpleArray< ON_Curve * > &loop)
 

Data Fields

int source_loop
 
int loop_index
 
double curve_t
 
ON_2dPoint pt
 
enum CurvePoint::Location location
 

Detailed Description

Definition at line 1463 of file boolean.cpp.

Member Enumeration Documentation

enum Location
Enumerator
BOUNDARY 
INSIDE 
OUTSIDE 

Definition at line 1470 of file boolean.cpp.

Constructor & Destructor Documentation

CurvePoint ( int  loop,
int  li,
double  pt_t,
ON_Curve *  curve,
const ON_SimpleArray< ON_Curve * > &  other_loop 
)
inline

Definition at line 1479 of file boolean.cpp.

References location, and PointLoopLocation().

Here is the call graph for this function:

CurvePoint ( int  loop,
int  li,
double  t,
ON_2dPoint  p,
CurvePoint::Location  l 
)
inline

Definition at line 1491 of file boolean.cpp.

Member Function Documentation

CurvePoint::Location PointLoopLocation ( ON_2dPoint  pt,
const ON_SimpleArray< ON_Curve * > &  loop 
)
static

Definition at line 1548 of file boolean.cpp.

References BOUNDARY, INSIDE, is_point_on_loop(), OUTSIDE, OUTSIDE_OR_ON_LOOP, and point_loop_location().

Referenced by CurvePoint(), and make_segments().

Here is the call graph for this function:

bool operator< ( const CurvePoint other) const
inline

Definition at line 1502 of file boolean.cpp.

References curve_t, INTERSECTION_TOL, loop_index, ON_NearZero(), pt, and source_loop.

Here is the call graph for this function:

bool operator== ( const CurvePoint other) const
inline

Definition at line 1523 of file boolean.cpp.

References INTERSECTION_TOL, ON_NearZero(), and pt.

Here is the call graph for this function:

bool operator!= ( const CurvePoint other) const
inline

Definition at line 1529 of file boolean.cpp.

References INTERSECTION_TOL, ON_NearZero(), and pt.

Here is the call graph for this function:

Field Documentation

int source_loop

Definition at line 1465 of file boolean.cpp.

Referenced by operator<().

int loop_index

Definition at line 1466 of file boolean.cpp.

Referenced by CurveSegment::Curve(), make_segments(), and operator<().

double curve_t

Definition at line 1467 of file boolean.cpp.

Referenced by CurveSegment::Curve(), make_segments(), and operator<().

ON_2dPoint pt
enum CurvePoint::Location location

Referenced by CurvePoint(), and make_segments().


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