Public Member Functions | Protected Member Functions | Private Member Functions
ON_Curve Class Reference

#include <opennurbs_curve.h>

Inheritance diagram for ON_Curve:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ON_BOOL32 ChangeClosedCurveSeam (double t)
virtual bool ChangeDimension (int desired_dimension)
ON_3dVector CurvatureAt (double t) const
virtual int Degree () const =0
ON_3dVector DerivativeAt (double t) const
void DestroyCurveTree ()
void DestroyRuntimeCache (bool bDelete=true)
virtual ON_Interval Domain () const =0
virtual ON_CurveDuplicateCurve () const
ON_BOOL32 Ev1Der (double t, ON_3dPoint &point, ON_3dVector &first_derivative, int side=0, int *hint=0) const
ON_BOOL32 Ev2Der (double t, ON_3dPoint &point, ON_3dVector &first_derivative, ON_3dVector &second_derivative, int side=0, int *hint=0) const
virtual ON_BOOL32 Evaluate (double t, int der_count, int v_stride, double *v, int side=0, int *hint=0) const =0
bool EvaluatePoint (const class ON_ObjRef &objref, ON_3dPoint &P) const
ON_BOOL32 EvCurvature (double t, ON_3dPoint &point, ON_3dVector &tangent, ON_3dVector &kappa, int side=0, int *hint=0) const
ON_BOOL32 EvPoint (double t, ON_3dPoint &point, int side=0, int *hint=0) const
ON_BOOL32 EvTangent (double t, ON_3dPoint &point, ON_3dVector &tangent, int side=0, int *hint=0) const
virtual bool Extend (const ON_Interval &domain)
bool FirstSpanIsLinear (double min_length, double tolerance) const
bool FirstSpanIsLinear (double min_length, double tolerance, ON_Line *span_line) const
ON_BOOL32 FrameAt (double t, ON_Plane &plane) const
virtual ON_BOOL32 GetCurveParameterFromNurbFormParameter (double nurbs_t, double *curve_t) const
ON_BOOL32 GetDomain (double *t0, double *t1) const
virtual bool GetNextDiscontinuity (ON::continuity c, double t0, double t1, double *t, int *hint=NULL, int *dtype=NULL, double cos_angle_tolerance=ON_DEFAULT_ANGLE_TOLERANCE_COSINE, double curvature_tolerance=ON_SQRT_EPSILON) const
virtual int GetNurbForm (ON_NurbsCurve &nurbs_curve, double tolerance=0.0, const ON_Interval *subdomain=NULL) const
virtual ON_BOOL32 GetNurbFormParameterFromCurveParameter (double curve_t, double *nurbs_t) const
virtual ON_BOOL32 GetParameterTolerance (double t, double *tminus, double *tplus) const
virtual ON_BOOL32 GetSpanVector (double *knots) const =0
virtual ON_BOOL32 GetSpanVectorIndex (double t, int side, int *span_vector_index, ON_Interval *span_domain) const
bool GetTightBoundingBox (ON_BoundingBox &tight_bbox, int bGrowBox=false, const ON_Xform *xform=0) const
virtual int HasNurbForm () const
virtual ON_BOOL32 IsArc (const ON_Plane *plane=NULL, ON_Arc *arc=NULL, double tolerance=ON_ZERO_TOLERANCE) const
bool IsArcAt (double t, const ON_Plane *plane=0, ON_Arc *arc=0, double tolerance=ON_ZERO_TOLERANCE, double *t0=0, double *t1=0) const
bool IsClosable (double tolerance, double min_abs_size=0.0, double min_rel_size=10.0) const
virtual ON_BOOL32 IsClosed () const
virtual bool IsContinuous (ON::continuity c, double t, int *hint=NULL, double point_tolerance=ON_ZERO_TOLERANCE, double d1_tolerance=ON_ZERO_TOLERANCE, double d2_tolerance=ON_ZERO_TOLERANCE, double cos_angle_tolerance=ON_DEFAULT_ANGLE_TOLERANCE_COSINE, double curvature_tolerance=ON_SQRT_EPSILON) const
virtual bool IsEllipse (const ON_Plane *plane=NULL, ON_Ellipse *ellipse=NULL, double tolerance=ON_ZERO_TOLERANCE) const
virtual ON_BOOL32 IsInPlane (const ON_Plane &test_plane, double tolerance=ON_ZERO_TOLERANCE) const =0
virtual ON_BOOL32 IsLinear (double tolerance=ON_ZERO_TOLERANCE) const
virtual ON_BOOL32 IsPeriodic () const
virtual ON_BOOL32 IsPlanar (ON_Plane *plane=NULL, double tolerance=ON_ZERO_TOLERANCE) const
virtual int IsPolyline (ON_SimpleArray< ON_3dPoint > *pline_points=NULL, ON_SimpleArray< double > *pline_t=NULL) const
bool LastSpanIsLinear (double min_length, double tolerance) const
bool LastSpanIsLinear (double min_length, double tolerance, ON_Line *span_line) const
ON_NurbsCurveNurbsCurve (ON_NurbsCurve *pNurbsCurve=NULL, double tolerance=0.0, const ON_Interval *subdomain=NULL) const
ON::object_type ObjectType () const
 ON_Curve ()
 ON_Curve (const ON_Curve &)
ON_Curveoperator= (const ON_Curve &)
ON_3dPoint PointAt (double t) const
ON_3dPoint PointAtEnd () const
ON_3dPoint PointAtStart () const
virtual ON_BOOL32 Reverse ()=0
bool SetDomain (ON_Interval domain)
virtual ON_BOOL32 SetDomain (double t0, double t1)
virtual ON_BOOL32 SetEndPoint (ON_3dPoint end_point)
virtual ON_BOOL32 SetStartPoint (ON_3dPoint start_point)
unsigned int SizeOf () const
virtual int SpanCount () const =0
virtual ON_BOOL32 Split (double t, ON_Curve *&left_side, ON_Curve *&right_side) const
ON_3dVector TangentAt (double t) const
virtual ON_BOOL32 Trim (const ON_Interval &domain)
virtual ~ON_Curve ()

Protected Member Functions

bool ParameterSearch (double t, int &index, bool bEnableSnap, const ON_SimpleArray< double > &m_t, double RelTol=ON_SQRT_EPSILON) const

Private Member Functions

 ON_OBJECT_DECLARE (ON_Curve)

Detailed Description

Definition at line 88 of file opennurbs_curve.h.


Constructor & Destructor Documentation

Definition at line 21 of file opennurbs_curve.cpp.

ON_Curve::ON_Curve ( const ON_Curve src)

Definition at line 25 of file opennurbs_curve.cpp.

ON_Curve::~ON_Curve ( ) [virtual]

Definition at line 38 of file opennurbs_curve.cpp.


Member Function Documentation

ON_BOOL32 ON_Curve::ChangeClosedCurveSeam ( double  t) [virtual]

Reimplemented in ON_NurbsCurve, ON_PolyCurve, ON_PolylineCurve, ON_ArcCurve, and ON_PolyEdgeCurve.

Definition at line 161 of file opennurbs_curve.cpp.

bool ON_Curve::ChangeDimension ( int  desired_dimension) [virtual]

Reimplemented in ON_NurbsCurve, ON_ArcCurve, ON_PolyCurve, ON_PolylineCurve, and ON_LineCurve.

Definition at line 168 of file opennurbs_curve.cpp.

ON_3dVector ON_Curve::CurvatureAt ( double  t) const

Definition at line 934 of file opennurbs_curve.cpp.

virtual int ON_Curve::Degree ( ) const [pure virtual]
ON_3dVector ON_Curve::DerivativeAt ( double  t) const

Definition at line 918 of file opennurbs_curve.cpp.

Definition at line 87 of file opennurbs_curve.cpp.

void ON_Curve::DestroyRuntimeCache ( bool  bDelete = true) [virtual]

Reimplemented from ON_Object.

Reimplemented in ON_BrepTrim, ON_PolyEdgeSegment, ON_CurveProxy, ON_PolyCurve, and ON_PolyEdgeCurve.

Definition at line 1709 of file opennurbs_object.cpp.

virtual ON_Interval ON_Curve::Domain ( ) const [pure virtual]
ON_Curve * ON_Curve::DuplicateCurve ( ) const [virtual]

Reimplemented in ON_CurveProxy, ON_PolyCurve, ON_PolyEdgeSegment, and ON_PolyEdgeCurve.

Definition at line 62 of file opennurbs_curve.cpp.

ON_BOOL32 ON_Curve::Ev1Der ( double  t,
ON_3dPoint point,
ON_3dVector first_derivative,
int  side = 0,
int *  hint = 0 
) const

Definition at line 1244 of file opennurbs_curve.cpp.

ON_BOOL32 ON_Curve::Ev2Der ( double  t,
ON_3dPoint point,
ON_3dVector first_derivative,
ON_3dVector second_derivative,
int  side = 0,
int *  hint = 0 
) const

Definition at line 1288 of file opennurbs_curve.cpp.

virtual ON_BOOL32 ON_Curve::Evaluate ( double  t,
int  der_count,
int  v_stride,
double *  v,
int  side = 0,
int *  hint = 0 
) const [pure virtual]
bool ON_Curve::EvaluatePoint ( const class ON_ObjRef objref,
ON_3dPoint P 
) const [virtual]

Reimplemented from ON_Geometry.

Reimplemented in ON_PolyCurve.

Definition at line 1122 of file opennurbs_curve.cpp.

ON_BOOL32 ON_Curve::EvCurvature ( double  t,
ON_3dPoint point,
ON_3dVector tangent,
ON_3dVector kappa,
int  side = 0,
int *  hint = 0 
) const

Definition at line 1023 of file opennurbs_curve.cpp.

ON_BOOL32 ON_Curve::EvPoint ( double  t,
ON_3dPoint point,
int  side = 0,
int *  hint = 0 
) const

Definition at line 1067 of file opennurbs_curve.cpp.

ON_BOOL32 ON_Curve::EvTangent ( double  t,
ON_3dPoint point,
ON_3dVector tangent,
int  side = 0,
int *  hint = 0 
) const

Definition at line 942 of file opennurbs_curve.cpp.

bool ON_Curve::Extend ( const ON_Interval domain) [virtual]

Reimplemented in ON_NurbsCurve, ON_PolylineCurve, ON_PolyCurve, ON_ArcCurve, and ON_LineCurve.

Definition at line 2050 of file opennurbs_curve.cpp.

bool ON_Curve::FirstSpanIsLinear ( double  min_length,
double  tolerance 
) const

Definition at line 1830 of file opennurbs_curve.cpp.

bool ON_Curve::FirstSpanIsLinear ( double  min_length,
double  tolerance,
ON_Line span_line 
) const

Definition at line 1838 of file opennurbs_curve.cpp.

ON_BOOL32 ON_Curve::FrameAt ( double  t,
ON_Plane plane 
) const

Definition at line 1041 of file opennurbs_curve.cpp.

ON_BOOL32 ON_Curve::GetCurveParameterFromNurbFormParameter ( double  nurbs_t,
double *  curve_t 
) const [virtual]
ON_BOOL32 ON_Curve::GetDomain ( double *  t0,
double *  t1 
) const

Definition at line 75 of file opennurbs_curve.cpp.

bool ON_Curve::GetNextDiscontinuity ( ON::continuity  c,
double  t0,
double  t1,
double *  t,
int *  hint = NULL,
int *  dtype = NULL,
double  cos_angle_tolerance = ON_DEFAULT_ANGLE_TOLERANCE_COSINE,
double  curvature_tolerance = ON_SQRT_EPSILON 
) const [virtual]

Reimplemented in ON_NurbsCurve, ON_CurveProxy, ON_PolylineCurve, and ON_PolyCurve.

Definition at line 570 of file opennurbs_curve.cpp.

int ON_Curve::GetNurbForm ( ON_NurbsCurve nurbs_curve,
double  tolerance = 0.0,
const ON_Interval subdomain = NULL 
) const [virtual]
ON_BOOL32 ON_Curve::GetNurbFormParameterFromCurveParameter ( double  curve_t,
double *  nurbs_t 
) const [virtual]
ON_BOOL32 ON_Curve::GetParameterTolerance ( double  t,
double *  tminus,
double *  tplus 
) const [virtual]

Reimplemented in ON_NurbsCurve, ON_CurveProxy, and ON_CurveOnSurface.

Definition at line 205 of file opennurbs_curve.cpp.

virtual ON_BOOL32 ON_Curve::GetSpanVector ( double *  knots) const [pure virtual]
ON_BOOL32 ON_Curve::GetSpanVectorIndex ( double  t,
int  side,
int *  span_vector_index,
ON_Interval span_domain 
) const [virtual]

Definition at line 175 of file opennurbs_curve.cpp.

bool ON_Curve::GetTightBoundingBox ( ON_BoundingBox tight_bbox,
int  bGrowBox = false,
const ON_Xform xform = 0 
) const [virtual]

Reimplemented from ON_Geometry.

Reimplemented in ON_ArcCurve, ON_PolyCurve, ON_PolylineCurve, and ON_LineCurve.

Definition at line 92 of file opennurbs_curve.cpp.

int ON_Curve::HasNurbForm ( ) const [virtual]
ON_BOOL32 ON_Curve::IsArc ( const ON_Plane plane = NULL,
ON_Arc arc = NULL,
double  tolerance = ON_ZERO_TOLERANCE 
) const [virtual]
bool ON_Curve::IsArcAt ( double  t,
const ON_Plane plane = 0,
ON_Arc arc = 0,
double  tolerance = ON_ZERO_TOLERANCE,
double *  t0 = 0,
double *  t1 = 0 
) const

Definition at line 292 of file opennurbs_curve.cpp.

bool ON_Curve::IsClosable ( double  tolerance,
double  min_abs_size = 0.0,
double  min_rel_size = 10.0 
) const

Definition at line 2364 of file opennurbs_curve.cpp.

ON_BOOL32 ON_Curve::IsClosed ( void  ) const [virtual]
bool ON_Curve::IsContinuous ( ON::continuity  c,
double  t,
int *  hint = NULL,
double  point_tolerance = ON_ZERO_TOLERANCE,
double  d1_tolerance = ON_ZERO_TOLERANCE,
double  d2_tolerance = ON_ZERO_TOLERANCE,
double  cos_angle_tolerance = ON_DEFAULT_ANGLE_TOLERANCE_COSINE,
double  curvature_tolerance = ON_SQRT_EPSILON 
) const [virtual]

Reimplemented in ON_NurbsCurve, ON_CurveProxy, ON_PolylineCurve, ON_PolyCurve, and ON_ArcCurve.

Definition at line 720 of file opennurbs_curve.cpp.

bool ON_Curve::IsEllipse ( const ON_Plane plane = NULL,
ON_Ellipse ellipse = NULL,
double  tolerance = ON_ZERO_TOLERANCE 
) const [virtual]

Definition at line 274 of file opennurbs_curve.cpp.

virtual ON_BOOL32 ON_Curve::IsInPlane ( const ON_Plane test_plane,
double  tolerance = ON_ZERO_TOLERANCE 
) const [pure virtual]
ON_BOOL32 ON_Curve::IsLinear ( double  tolerance = ON_ZERO_TOLERANCE) const [virtual]
ON_BOOL32 ON_Curve::IsPeriodic ( void  ) const [virtual]
ON_BOOL32 ON_Curve::IsPlanar ( ON_Plane plane = NULL,
double  tolerance = ON_ZERO_TOLERANCE 
) const [virtual]
int ON_Curve::IsPolyline ( ON_SimpleArray< ON_3dPoint > *  pline_points = NULL,
ON_SimpleArray< double > *  pline_t = NULL 
) const [virtual]

Reimplemented in ON_NurbsCurve, ON_CurveProxy, ON_PolylineCurve, ON_PolyCurve, and ON_LineCurve.

Definition at line 218 of file opennurbs_curve.cpp.

bool ON_Curve::LastSpanIsLinear ( double  min_length,
double  tolerance 
) const

Definition at line 1897 of file opennurbs_curve.cpp.

bool ON_Curve::LastSpanIsLinear ( double  min_length,
double  tolerance,
ON_Line span_line 
) const

Definition at line 1905 of file opennurbs_curve.cpp.

ON_NurbsCurve * ON_Curve::NurbsCurve ( ON_NurbsCurve pNurbsCurve = NULL,
double  tolerance = 0.0,
const ON_Interval subdomain = NULL 
) const

Definition at line 2169 of file opennurbs_curve.cpp.

ON::object_type ON_Curve::ObjectType ( ) const [virtual]

Reimplemented from ON_Object.

Reimplemented in ON_BrepEdge.

Definition at line 69 of file opennurbs_curve.cpp.

ON_Curve & ON_Curve::operator= ( const ON_Curve src)

Definition at line 29 of file opennurbs_curve.cpp.

bool ON_Curve::ParameterSearch ( double  t,
int &  index,
bool  bEnableSnap,
const ON_SimpleArray< double > &  m_t,
double  RelTol = ON_SQRT_EPSILON 
) const [protected]

Definition at line 2775 of file opennurbs_curve.cpp.

ON_3dPoint ON_Curve::PointAt ( double  t) const

Definition at line 889 of file opennurbs_curve.cpp.

Definition at line 902 of file opennurbs_curve.cpp.

Definition at line 897 of file opennurbs_curve.cpp.

virtual ON_BOOL32 ON_Curve::Reverse ( ) [pure virtual]
bool ON_Curve::SetDomain ( ON_Interval  domain)

Reimplemented in ON_CurveProxy.

Definition at line 149 of file opennurbs_curve.cpp.

ON_BOOL32 ON_Curve::SetDomain ( double  t0,
double  t1 
) [virtual]
ON_BOOL32 ON_Curve::SetEndPoint ( ON_3dPoint  end_point) [virtual]
ON_BOOL32 ON_Curve::SetStartPoint ( ON_3dPoint  start_point) [virtual]
unsigned int ON_Curve::SizeOf ( ) const [virtual]
virtual int ON_Curve::SpanCount ( ) const [pure virtual]
ON_BOOL32 ON_Curve::Split ( double  t,
ON_Curve *&  left_side,
ON_Curve *&  right_side 
) const [virtual]
ON_3dVector ON_Curve::TangentAt ( double  t) const

Definition at line 926 of file opennurbs_curve.cpp.

ON_BOOL32 ON_Curve::Trim ( const ON_Interval domain) [virtual]

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


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:51