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

Classes

class  ON__EDGE_ENDS
 

Functions

static void AdjustCurve (ON_Curve &crv, const ON_3dPoint &P0, const ON_3dPoint &P1)
 
static void AdjustEdgeEnds (ON_BrepEdge &edge)
 
static void AdjustNurbsCurve (ON_NurbsCurve &crv, const ON_3dPoint &P0, const ON_3dPoint &P1)
 
static bool AdjustPointListAlongChord (ON_3dPointArray &Points, const ON_3dPoint &P0, const ON_3dPoint &P1)
 
static void AdjustPolyCurve (ON_PolyCurve &crv, const ON_3dPoint &P0, const ON_3dPoint &P1)
 
static void AdjustPolylineCurve (ON_PolylineCurve &crv, const ON_3dPoint &P0, const ON_3dPoint &P1)
 
static void BadLoopMessage (int loop_index, ON_TextLog *text_log)
 
static bool CheckLoopOnSrfHelper (const ON_Brep &brep, const ON_Interval &srf_domain0, const ON_Interval &srf_domain1, const ON_BrepLoop &loop, ON_TextLog *text_log)
 
static bool CheckTrimOnSrfHelper (const ON_Interval &srf_domain0, const ON_Interval &srf_domain1, const ON_BrepTrim &trim, ON_TextLog *text_log)
 
static int curve_area (ON_3dPoint &start_point, const ON_Curve *curve, const ON_Interval &curve_domain, const ON_Xform *xform, double *area)
 
static int loop_type_compar (const ON_BrepLoop *const *ppLoopA, const ON_BrepLoop *const *ppLoopB)
 
static void ON_BrepTransformSwapSrfHelper (ON_Brep &brep, ON_NurbsSurface *nurbs_srf, int si)
 
int ON_ClosedCurveOrientation (const ON_Curve &curve, const ON_Xform *xform)
 
 ON_OBJECT_IMPLEMENT (ON_Brep, ON_Geometry,"60B5DBC5-E660-11d3-BFE4-0010830122F0")
 
 ON_OBJECT_IMPLEMENT (ON_BrepEdge, ON_CurveProxy,"60B5DBC1-E660-11d3-BFE4-0010830122F0")
 
 ON_OBJECT_IMPLEMENT (ON_BrepFace, ON_SurfaceProxy,"60B5DBC4-E660-11d3-BFE4-0010830122F0")
 
 ON_OBJECT_IMPLEMENT (ON_BrepLoop, ON_Geometry,"60B5DBC3-E660-11d3-BFE4-0010830122F0")
 
 ON_OBJECT_IMPLEMENT (ON_BrepTrim, ON_CurveProxy,"60B5DBC2-E660-11d3-BFE4-0010830122F0")
 
 ON_OBJECT_IMPLEMENT (ON_BrepVertex, ON_Point,"60B5DBC0-E660-11d3-BFE4-0010830122F0")
 
static void PropagateLabel (ON_Brep &B, ON_SimpleArray< int > &fids, int label)
 
static const ON_BrepTrimSlitSeamMateHelper (const ON_BrepTrim &trim)
 
static int sort_ci (const ON_BrepEdge *E0, const ON_BrepEdge *E1)
 
static bool TestTrimPBox (const ON_BrepTrim &trim, ON_TextLog *text_log)
 

Function Documentation

◆ AdjustCurve()

static void AdjustCurve ( ON_Curve & crv,
const ON_3dPoint & P0,
const ON_3dPoint & P1 )
static

◆ AdjustEdgeEnds()

static void AdjustEdgeEnds ( ON_BrepEdge & edge)
static

◆ AdjustNurbsCurve()

static void AdjustNurbsCurve ( ON_NurbsCurve & crv,
const ON_3dPoint & P0,
const ON_3dPoint & P1 )
static

◆ AdjustPointListAlongChord()

static bool AdjustPointListAlongChord ( ON_3dPointArray & Points,
const ON_3dPoint & P0,
const ON_3dPoint & P1 )
static

◆ AdjustPolyCurve()

static void AdjustPolyCurve ( ON_PolyCurve & crv,
const ON_3dPoint & P0,
const ON_3dPoint & P1 )
static

◆ AdjustPolylineCurve()

static void AdjustPolylineCurve ( ON_PolylineCurve & crv,
const ON_3dPoint & P0,
const ON_3dPoint & P1 )
static

◆ BadLoopMessage()

static void BadLoopMessage ( int loop_index,
ON_TextLog * text_log )
static

◆ CheckLoopOnSrfHelper()

static bool CheckLoopOnSrfHelper ( const ON_Brep & brep,
const ON_Interval & srf_domain0,
const ON_Interval & srf_domain1,
const ON_BrepLoop & loop,
ON_TextLog * text_log )
static

◆ CheckTrimOnSrfHelper()

static bool CheckTrimOnSrfHelper ( const ON_Interval & srf_domain0,
const ON_Interval & srf_domain1,
const ON_BrepTrim & trim,
ON_TextLog * text_log )
static

◆ curve_area()

static int curve_area ( ON_3dPoint & start_point,
const ON_Curve * curve,
const ON_Interval & curve_domain,
const ON_Xform * xform,
double * area )
static

◆ loop_type_compar()

static int loop_type_compar ( const ON_BrepLoop *const * ppLoopA,
const ON_BrepLoop *const * ppLoopB )
static

◆ ON_BrepTransformSwapSrfHelper()

static void ON_BrepTransformSwapSrfHelper ( ON_Brep & brep,
ON_NurbsSurface * nurbs_srf,
int si )
static

◆ ON_ClosedCurveOrientation()

int ON_ClosedCurveOrientation ( const ON_Curve & curve,
const ON_Xform * xform )

◆ ON_OBJECT_IMPLEMENT() [1/6]

ON_OBJECT_IMPLEMENT ( ON_Brep ,
ON_Geometry ,
"60B5DBC5-E660-11d3-BFE4-0010830122F0"  )

◆ ON_OBJECT_IMPLEMENT() [2/6]

ON_OBJECT_IMPLEMENT ( ON_BrepEdge ,
ON_CurveProxy ,
"60B5DBC1-E660-11d3-BFE4-0010830122F0"  )

◆ ON_OBJECT_IMPLEMENT() [3/6]

ON_OBJECT_IMPLEMENT ( ON_BrepFace ,
ON_SurfaceProxy ,
"60B5DBC4-E660-11d3-BFE4-0010830122F0"  )

◆ ON_OBJECT_IMPLEMENT() [4/6]

ON_OBJECT_IMPLEMENT ( ON_BrepLoop ,
ON_Geometry ,
"60B5DBC3-E660-11d3-BFE4-0010830122F0"  )

◆ ON_OBJECT_IMPLEMENT() [5/6]

ON_OBJECT_IMPLEMENT ( ON_BrepTrim ,
ON_CurveProxy ,
"60B5DBC2-E660-11d3-BFE4-0010830122F0"  )

◆ ON_OBJECT_IMPLEMENT() [6/6]

ON_OBJECT_IMPLEMENT ( ON_BrepVertex ,
ON_Point ,
"60B5DBC0-E660-11d3-BFE4-0010830122F0"  )

◆ PropagateLabel()

static void PropagateLabel ( ON_Brep & B,
ON_SimpleArray< int > & fids,
int label )
static

◆ SlitSeamMateHelper()

static const ON_BrepTrim * SlitSeamMateHelper ( const ON_BrepTrim & trim)
static

◆ sort_ci()

static int sort_ci ( const ON_BrepEdge * E0,
const ON_BrepEdge * E1 )
static

◆ TestTrimPBox()

static bool TestTrimPBox ( const ON_BrepTrim & trim,
ON_TextLog * text_log )
static