QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
opennurbs_curve.cpp File Reference
#include "opennurbs.h"

Classes

struct  CurveJoinEndData
 
struct  CurveJoinSeg
 

Functions

static int CompareEndData (const CurveJoinEndData *a, const CurveJoinEndData *b)
 
static bool ForceMatchArcs (ON_ArcCurve &Arc0, int end0, ON_ArcCurve &Arc1, int end1)
 
static ON::eCurveType ON_CurveType (const ON_Curve *curve)
 
bool ON_ForceMatchCurveEnds (ON_Curve &Crv0, int end0, ON_Curve &Crv1, int end1)
 
int ON_JoinCurves (const ON_SimpleArray< const ON_Curve * > &InCurves, ON_SimpleArray< ON_Curve * > &OutCurves, double join_tol, bool bPreserveDirection, ON_SimpleArray< int > *key)
 
bool ON_MatchCurveEnds (ON_Curve *curve0, int end0, ON_Curve *curve1, int end1, double gap_tolerance=0.0)
 
bool ON_SortCurves (const ON_SimpleArray< const ON_Curve * > &curves, ON_SimpleArray< int > &index, ON_SimpleArray< bool > &bReverse)
 
bool ON_SortCurves (const ON_SimpleArray< ON_Curve * > &curves, ON_SimpleArray< int > &index, ON_SimpleArray< bool > &bReverse)
 
bool ON_SortCurves (int curve_count, const ON_Curve *const *curve_list, int *index, bool *bReverse)
 
bool ON_SortLines (const ON_SimpleArray< ON_Line > &line_list, int *index, bool *bReverse)
 
bool ON_SortLines (int line_count, const ON_Line *line_list, int *index, bool *bReverse)
 
ON_CurveON_TrimCurve (const ON_Curve &curve, ON_Interval trim_parameters)
 
 ON_VIRTUAL_OBJECT_IMPLEMENT (ON_Curve, ON_Geometry,"4ED7D4D7-E947-11d3-BFE5-0010830122F0")
 
static void ReverseSegs (ON_SimpleArray< CurveJoinSeg > &SArray)
 

Function Documentation

◆ CompareEndData()

static int CompareEndData ( const CurveJoinEndData * a,
const CurveJoinEndData * b )
static

◆ ForceMatchArcs()

static bool ForceMatchArcs ( ON_ArcCurve & Arc0,
int end0,
ON_ArcCurve & Arc1,
int end1 )
static

◆ ON_CurveType()

static ON::eCurveType ON_CurveType ( const ON_Curve * curve)
static

◆ ON_ForceMatchCurveEnds()

bool ON_ForceMatchCurveEnds ( ON_Curve & Crv0,
int end0,
ON_Curve & Crv1,
int end1 )

◆ ON_JoinCurves()

int ON_JoinCurves ( const ON_SimpleArray< const ON_Curve * > & InCurves,
ON_SimpleArray< ON_Curve * > & OutCurves,
double join_tol,
bool bPreserveDirection,
ON_SimpleArray< int > * key )

◆ ON_MatchCurveEnds()

bool ON_MatchCurveEnds ( ON_Curve * curve0,
int end0,
ON_Curve * curve1,
int end1,
double gap_tolerance = 0.0 )

◆ ON_SortCurves() [1/3]

bool ON_SortCurves ( const ON_SimpleArray< const ON_Curve * > & curves,
ON_SimpleArray< int > & index,
ON_SimpleArray< bool > & bReverse )

◆ ON_SortCurves() [2/3]

bool ON_SortCurves ( const ON_SimpleArray< ON_Curve * > & curves,
ON_SimpleArray< int > & index,
ON_SimpleArray< bool > & bReverse )

◆ ON_SortCurves() [3/3]

bool ON_SortCurves ( int curve_count,
const ON_Curve *const * curve_list,
int * index,
bool * bReverse )

◆ ON_SortLines() [1/2]

bool ON_SortLines ( const ON_SimpleArray< ON_Line > & line_list,
int * index,
bool * bReverse )

◆ ON_SortLines() [2/2]

bool ON_SortLines ( int line_count,
const ON_Line * line_list,
int * index,
bool * bReverse )

◆ ON_TrimCurve()

ON_Curve * ON_TrimCurve ( const ON_Curve & curve,
ON_Interval trim_parameters )

◆ ON_VIRTUAL_OBJECT_IMPLEMENT()

ON_VIRTUAL_OBJECT_IMPLEMENT ( ON_Curve ,
ON_Geometry ,
"4ED7D4D7-E947-11d3-BFE5-0010830122F0"  )

◆ ReverseSegs()

static void ReverseSegs ( ON_SimpleArray< CurveJoinSeg > & SArray)
static