Classes | Namespaces | Macros | Typedefs
BsplineStructs.h File Reference

Spline order, closure, and count data: bSplineParam, interpolationParam, bsplineDisplay, and BCurveSegment. More...

#include <Bentley/RefCounted.h>

Go to the source code of this file.

Classes

struct  bSplineParam
 Spline order, closure, and count data. More...
 
struct  interpolationParam
 Interpolation controls. More...
 
struct  bsplineDisplay
 spline display controls More...
 
struct  BCurveSegment
 Complete data for a single patch segment extracted from a bspline curve. More...
 

Namespaces

 Bentley
 The Bentley namespace contains types defined by the Bentley Library.
 

Macros

#define MS_BSPLINE_STRUCTURES_DEFINED
 
#define BSCURVE_GENERAL   0
 
#define BSCURVE_LINE   1
 
#define BSCURVE_CIRCULAR_ARC   2
 
#define BSCURVE_CIRCLE   3
 
#define BSCURVE_ELLIPTICAL_ARC   4
 
#define BSCURVE_ELLIPSE   5
 
#define BSCURVE_PARABOLIC_ARC   6
 
#define BSCURVE_HYPERBOLIC_ARC   7
 
#define BSSURF_GENERAL   0
 
#define BSSURF_PLANE   1
 
#define BSSURF_RIGHT_CYLINDER   2
 
#define BSSURF_CONE   3
 
#define BSSURF_SPHERE   4
 
#define BSSURF_TORUS   5
 
#define BSSURF_REVOLUTION   6
 
#define BSSURF_TAB_CYLINDER   7
 
#define BSSURF_RULED_SURFACE   8
 
#define BSSURF_U   0
 
#define BSSURF_V   1
 
#define MAX_POLES   MAX_VERTICES
 
#define MAX_ORDER   26
 
#define MAX_KNOTS   (MAX_POLES + 2*MAX_ORDER - 1)
 
#define MAX_BNDRY_PTS   MAX_VERTICES
 
#define MAX_DATA_PTS   MAX_VERTICES
 
#define MAX_BSORDER   MAX_ORDER
 
#define KNOT_TOLERANCE_BASIS   1E-10
 
#define FIT_POLES   0
 
#define FIT_POINTS   1
 
#define FIT_LEASTSQUARES   2
 
#define FIT_CATMULLROM   3
 
#define OFFSET_JUMP_CUSP   0
 
#define OFFSET_CHAMFER_CUSP   1
 
#define OFFSET_POINT_CUSP   2
 
#define OFFSET_PARABOLA_CUSP   3
 
#define OFFSET_ARC_CUSP   4
 
#define POSITION_CONTINUITY   0
 
#define TANGENT_CONTINUITY   1
 
#define CURVATURE_CONTINUITY   2
 
#define DERIVATIVE_CONTINUITY   3
 
#define TRUNCATE_BOTH   0
 
#define TRUNCATE_NONE   1
 
#define TRUNCATE_SINGLE   2
 
#define SILHBND_U   0
 
#define SILHBND_V   1
 
#define SILHBND_NONE   2
 
#define SILHBND_BOTH   3
 
#define NO_EDGE   0x0000
 
#define U0_EDGE   0x0001
 
#define U1_EDGE   0x0002
 
#define V0_EDGE   0x0004
 
#define V1_EDGE   0x0008
 
#define ANY_EDGE   0x000F
 
#define MSB_SUCCESS   0
 
#define MSB_ERROR   0x8000
 

Typedefs

typedef int MSBsplineStatus
 

Detailed Description

Spline order, closure, and count data: bSplineParam, interpolationParam, bsplineDisplay, and BCurveSegment.

Macro Definition Documentation

#define ANY_EDGE   0x000F
#define BSCURVE_CIRCLE   3
#define BSCURVE_CIRCULAR_ARC   2
#define BSCURVE_ELLIPSE   5
#define BSCURVE_ELLIPTICAL_ARC   4
#define BSCURVE_GENERAL   0
#define BSCURVE_HYPERBOLIC_ARC   7
#define BSCURVE_LINE   1
#define BSCURVE_PARABOLIC_ARC   6
#define BSSURF_CONE   3
#define BSSURF_GENERAL   0
#define BSSURF_PLANE   1
#define BSSURF_REVOLUTION   6
#define BSSURF_RIGHT_CYLINDER   2
#define BSSURF_RULED_SURFACE   8
#define BSSURF_SPHERE   4
#define BSSURF_TAB_CYLINDER   7
#define BSSURF_TORUS   5
#define BSSURF_U   0
#define BSSURF_V   1
#define CURVATURE_CONTINUITY   2
#define DERIVATIVE_CONTINUITY   3
#define FIT_CATMULLROM   3
#define FIT_LEASTSQUARES   2
#define FIT_POINTS   1
#define FIT_POLES   0
#define KNOT_TOLERANCE_BASIS   1E-10
#define MAX_BNDRY_PTS   MAX_VERTICES
#define MAX_BSORDER   MAX_ORDER
#define MAX_DATA_PTS   MAX_VERTICES
#define MAX_KNOTS   (MAX_POLES + 2*MAX_ORDER - 1)
#define MAX_ORDER   26
#define MAX_POLES   MAX_VERTICES
#define MS_BSPLINE_STRUCTURES_DEFINED
#define MSB_ERROR   0x8000
#define MSB_SUCCESS   0
#define NO_EDGE   0x0000
#define OFFSET_ARC_CUSP   4
#define OFFSET_CHAMFER_CUSP   1
#define OFFSET_JUMP_CUSP   0
#define OFFSET_PARABOLA_CUSP   3
#define OFFSET_POINT_CUSP   2
#define POSITION_CONTINUITY   0
#define SILHBND_BOTH   3
#define SILHBND_NONE   2
#define SILHBND_U   0
#define SILHBND_V   1
#define TANGENT_CONTINUITY   1
#define TRUNCATE_BOTH   0
#define TRUNCATE_NONE   1
#define TRUNCATE_SINGLE   2
#define U0_EDGE   0x0001
#define U1_EDGE   0x0002
#define V0_EDGE   0x0004
#define V1_EDGE   0x0008

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.