BRL-CAD
CurveSegment Class Reference
Collaboration diagram for CurveSegment:
[legend]

Public Types

enum  Location { BOUNDARY, INSIDE, OUTSIDE }
 

Public Member Functions

 CurveSegment (ON_SimpleArray< ON_Curve * > &loop, CurvePoint f, CurvePoint t, CurveSegment::Location l)
 
void Reverse (void)
 
ON_Curve * Curve (void) const
 
bool IsDegenerate (void)
 
bool operator< (const CurveSegment &other) const
 

Data Fields

ON_SimpleArray< ON_Curve * > orig_loop
 
CurvePoint from
 
CurvePoint to
 
enum CurveSegment::Location location
 

Detailed Description

Definition at line 1561 of file boolean.cpp.

Member Enumeration Documentation

enum Location
Enumerator
BOUNDARY 
INSIDE 
OUTSIDE 

Definition at line 1565 of file boolean.cpp.

Constructor & Destructor Documentation

CurveSegment ( ON_SimpleArray< ON_Curve * > &  loop,
CurvePoint  f,
CurvePoint  t,
CurveSegment::Location  l 
)
inline

Definition at line 1571 of file boolean.cpp.

Member Function Documentation

void Reverse ( void  )
inline

Definition at line 1581 of file boolean.cpp.

ON_Curve* Curve ( void  ) const
inline

Definition at line 1587 of file boolean.cpp.

References append_to_polycurve(), CurvePoint::curve_t, INTERSECTION_TOL, CurvePoint::loop_index, ON_NearZero(), and sub_curve().

Referenced by IsDegenerate(), and set_append_segment().

Here is the call graph for this function:

bool IsDegenerate ( void  )
inline

Definition at line 1623 of file boolean.cpp.

References Curve(), and INTERSECTION_TOL.

Referenced by make_segments().

Here is the call graph for this function:

bool operator< ( const CurveSegment other) const
inline

Definition at line 1648 of file boolean.cpp.

References from.

Field Documentation

ON_SimpleArray<ON_Curve *> orig_loop

Definition at line 1563 of file boolean.cpp.

CurvePoint from

Definition at line 1564 of file boolean.cpp.

Referenced by find_similar_segments(), operator<(), and set_append_segment().

Definition at line 1564 of file boolean.cpp.

Referenced by find_similar_segments(), and set_append_segment().

enum CurveSegment::Location location

Referenced by make_segments().


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