CircleArc Class Reference

Clothoids: G2lib::CircleArc Class Reference
Clothoids
G2lib::CircleArc Class Reference

#include <Circle.hxx>

Inheritance diagram for G2lib::CircleArc:
G2lib::BaseCurve

Public Member Functions

 CircleArc ()=delete
 
 CircleArc (string const &name)
 
void setup (GenericContainer const &gc) override
 
 CircleArc (CircleArc const &s)
 
 CircleArc (real_type x0, real_type y0, real_type theta0, real_type k, real_type L, string const &name)
 
 CircleArc (LineSegment const &LS)
 
void copy (CircleArc const &c)
 
 CircleArc (BaseCurve const *pC)
 
CurveType type () const override
 
CircleArc const & operator= (CircleArc const &s)
 
void build (real_type x0, real_type y0, real_type theta0, real_type k, real_type L)
 
bool build_G1 (real_type x0, real_type y0, real_type theta0, real_type x1, real_type y1)
 
bool build_3P (real_type x0, real_type y0, real_type x1, real_type y1, real_type x2, real_type y2)
 
void build (LineSegment const &)
 
void build (CircleArc const &)
 
void build (Biarc const &)
 
void build (ClothoidCurve const &)
 
void build (PolyLine const &)
 
void build (BiarcList const &)
 
void build (ClothoidList const &)
 
void build (Dubins const &)
 
void build (Dubins3p const &)
 
bool bbTriangle (real_type &x0, real_type &y0, real_type &x1, real_type &y1, real_type &x2, real_type &y2) const
 
bool bbTriangle_ISO (real_type offs, real_type &x0, real_type &y0, real_type &x1, real_type &y1, real_type &x2, real_type &y2) const
 
bool bbTriangle_SAE (real_type offs, real_type &x0, real_type &y0, real_type &x1, real_type &y1, real_type &x2, real_type &y2) const
 
bool bbTriangle (real_type p0[], real_type p1[], real_type p2[]) const
 
bool bbTriangle_ISO (real_type offs, real_type p0[], real_type p1[], real_type p2[]) const
 
bool bbTriangle_SAE (real_type offs, real_type p0[], real_type p1[], real_type p2[]) const
 
bool bbTriangle (Triangle2D &t, real_type ss0=0, real_type ss1=0, integer icurve=0) const
 
bool bbTriangle_ISO (real_type offs, Triangle2D &t, real_type ss0=0, real_type ss1=0, integer icurve=0) const
 
bool bbTriangle_SAE (real_type offs, Triangle2D &t, real_type ss0=0, real_type ss1=0, integer icurve=0) const
 
void bb_triangles (vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/18, real_type max_size=1e100, integer icurve=0) const override
 
void bb_triangles_ISO (real_type offs, vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/18, real_type max_size=1e100, integer icurve=0) const override
 
void bb_triangles_SAE (real_type offs, vector< Triangle2D > &tvec, real_type max_angle=Utils::m_pi/18, real_type max_size=1e100, integer icurve=0) const override
 
void bbox (real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const override
 
void bbox_ISO (real_type offs, real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const override
 
real_type length () const override
 
real_type length_ISO (real_type offs) const override
 
real_type theta_begin () const override
 
real_type kappa_begin () const override
 
real_type kappa_end () const override
 
real_type x_begin () const override
 
real_type y_begin () const override
 
real_type tx_begin () const override
 
real_type ty_begin () const override
 
real_type nx_begin_ISO () const override
 
real_type ny_begin_ISO () const override
 
real_type theta (real_type s) const override
 
real_type theta_D (real_type) const override
 
real_type theta_DD (real_type) const override
 
real_type theta_DDD (real_type) const override
 
void evaluate (real_type s, real_type &th, real_type &kappa, real_type &x, real_type &y) const override
 
real_type X (real_type s) const override
 
real_type Y (real_type s) const override
 
real_type X_D (real_type) const override
 
real_type Y_D (real_type) const override
 
real_type X_DD (real_type) const override
 
real_type Y_DD (real_type) const override
 
real_type X_DDD (real_type) const override
 
real_type Y_DDD (real_type) const override
 
void eval (real_type s, real_type &x, real_type &y) const override
 
void eval_D (real_type, real_type &x_D, real_type &y_D) const override
 
void eval_DD (real_type, real_type &x_DD, real_type &y_DD) const override
 
void eval_DDD (real_type, real_type &x_DDD, real_type &y_DDD) const override
 
real_type tx (real_type s) const override
 
real_type ty (real_type s) const override
 
real_type tx_D (real_type s) const override
 
real_type ty_D (real_type s) const override
 
real_type tx_DD (real_type s) const override
 
real_type ty_DD (real_type s) const override
 
real_type tx_DDD (real_type s) const override
 
real_type ty_DDD (real_type s) const override
 
void tg (real_type s, real_type &tx, real_type &ty) const override
 
void tg_D (real_type s, real_type &tx_D, real_type &ty_D) const override
 
void tg_DD (real_type s, real_type &tx_DD, real_type &ty_DD) const override
 
void tg_DDD (real_type s, real_type &tx_DDD, real_type &ty_DDD) const override
 
void translate (real_type tx, real_type ty) override
 translate curve by \((t_x,t_y)\)
 
void rotate (real_type angle, real_type cx, real_type cy) override
 
void reverse () override
 
void change_origin (real_type newx0, real_type newy0) override
 
void scale (real_type s) override
 
void trim (real_type s_begin, real_type s_end) override
 
integer closest_point_ISO (real_type qx, real_type qy, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const override
 
integer closest_point_ISO (real_type qx, real_type qy, real_type offs, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const override
 
string info () const
 
void info (ostream_type &stream) const override
 
bool collision (CircleArc const &) const
 
bool collision_ISO (real_type offs, CircleArc const &C, real_type offs_obj) const
 
bool collision (BaseCurve const *pC) const override
 
bool collision_ISO (real_type offs, BaseCurve const *pC, real_type offs_C) const override
 
void intersect (CircleArc const &obj, IntersectList &ilist) const
 
void intersect_ISO (real_type offs, CircleArc const &C, real_type offs_obj, IntersectList &ilist) const
 
void intersect (BaseCurve const *pC, IntersectList &ilist) const override
 
void intersect_ISO (real_type offs, BaseCurve const *pC, real_type offs_LS, IntersectList &ilist) const override
 
real_type sin_theta0 () const
 
real_type cos_theta0 () const
 
real_type curvature () const
 
real_type len_tolerance (real_type tol) const
 
real_type delta_theta () const
 
real_type theta_total_variation () const
 
real_type theta_min_max (real_type &thMin, real_type &thMax) const
 
void change_curvilinear_origin (real_type s0, real_type newL)
 
void center (real_type &cx, real_type &cy) const
 
real_type ray () const
 
void paramNURBS (integer &n_knots, integer &n_pnts) const
 
void toNURBS (real_type knots[], real_type Poly[][3]) const
 
virtual real_type theta_end () const
 
virtual real_type x_end () const
 
virtual real_type y_end () const
 
virtual real_type x_begin_ISO (real_type offs) const
 
virtual real_type y_begin_ISO (real_type offs) const
 
virtual real_type x_end_ISO (real_type offs) const
 
virtual real_type y_end_ISO (real_type offs) const
 
real_type x_begin_SAE (real_type offs) const
 
real_type y_begin_SAE (real_type offs) const
 
real_type x_end_SAE (real_type offs) const
 
real_type y_end_SAE (real_type offs) const
 
virtual real_type tx_end () const
 
virtual real_type ty_end () const
 
virtual real_type nx_end_ISO () const
 
virtual real_type ny_end_ISO () const
 
real_type nx_begin_SAE () const
 
real_type ny_begin_SAE () const
 
real_type nx_end_SAE () const
 
real_type ny_end_SAE () const
 
real_type X_SAE (real_type s, real_type offs) const
 
real_type X_SAE_D (real_type s, real_type offs) const
 
real_type X_SAE_DD (real_type s, real_type offs) const
 
real_type X_SAE_DDD (real_type s, real_type offs) const
 
real_type Y_SAE (real_type s, real_type offs) const
 
real_type Y_SAE_D (real_type s, real_type offs) const
 
real_type Y_SAE_DD (real_type s, real_type offs) const
 
real_type Y_SAE_DDD (real_type s, real_type offs) const
 
virtual real_type X_ISO (real_type s, real_type offs) const
 
virtual real_type X_ISO_D (real_type s, real_type offs) const
 
virtual real_type X_ISO_DD (real_type s, real_type offs) const
 
virtual real_type X_ISO_DDD (real_type s, real_type offs) const
 
virtual real_type Y_ISO (real_type s, real_type offs) const
 
virtual real_type Y_ISO_D (real_type s, real_type offs) const
 
virtual real_type Y_ISO_DD (real_type s, real_type offs) const
 
virtual real_type Y_ISO_DDD (real_type s, real_type offs) const
 
virtual void evaluate_ISO (real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const
 
virtual void evaluate_SAE (real_type s, real_type offs, real_type &th, real_type &k, real_type &x, real_type &y) const
 
virtual void eval_ISO (real_type s, real_type offs, real_type &x, real_type &y) const
 
virtual void eval_ISO_D (real_type s, real_type offs, real_type &x_D, real_type &y_D) const
 
virtual void eval_ISO_DD (real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const
 
virtual void eval_ISO_DDD (real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const
 
void eval_SAE (real_type s, real_type offs, real_type &x, real_type &y) const
 
void eval_SAE_D (real_type s, real_type offs, real_type &x_D, real_type &y_D) const
 
void eval_SAE_DD (real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const
 
void eval_SAE_DDD (real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const
 
integer closest_point_SAE (real_type qx, real_type qy, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const
 
integer closest_point_SAE (real_type qx, real_type qy, real_type offs, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const
 
real_type distance_ISO (real_type qx, real_type qy, real_type offs) const
 
real_type distance_SAE (real_type qx, real_type qy, real_type offs) const
 
- Public Member Functions inherited from G2lib::BaseCurve
 BaseCurve (BaseCurve const &)=delete
 
BaseCurve const & operator= (BaseCurve const &)=delete
 
 BaseCurve (string const &name)
 
void build (GenericContainer const &gc)
 
string name () const
 
string type_name () const
 
real_type length_SAE (real_type offs) const
 
void bbox_SAE (real_type offs, real_type &xmin, real_type &ymin, real_type &xmax, real_type &ymax) const
 
real_type x_begin_SAE (real_type offs) const
 
real_type y_begin_SAE (real_type offs) const
 
real_type x_end_SAE (real_type offs) const
 
real_type y_end_SAE (real_type offs) const
 
real_type nx_begin_SAE () const
 
real_type ny_begin_SAE () const
 
real_type nx_end_SAE () const
 
real_type ny_end_SAE () const
 
real_type kappa (real_type s) const
 
real_type kappa_D (real_type s) const
 
real_type kappa_DD (real_type s) const
 
real_type nx_ISO (real_type s) const
 
real_type nx_ISO_D (real_type s) const
 
real_type nx_ISO_DD (real_type s) const
 
real_type nx_ISO_DDD (real_type s) const
 
real_type ny_ISO (real_type s) const
 
real_type ny_ISO_D (real_type s) const
 
real_type ny_ISO_DD (real_type s) const
 
real_type ny_ISO_DDD (real_type s) const
 
real_type nx_SAE (real_type s) const
 
real_type nx_SAE_D (real_type s) const
 
real_type nx_SAE_DD (real_type s) const
 
real_type nx_SAE_DDD (real_type s) const
 
real_type ny_SAE (real_type s) const
 
real_type ny_SAE_D (real_type s) const
 
real_type ny_SAE_DD (real_type s) const
 
real_type ny_SAE_DDD (real_type s) const
 
void nor_ISO (real_type s, real_type &nx, real_type &ny) const
 
void nor_ISO_D (real_type s, real_type &nx_D, real_type &ny_D) const
 
void nor_ISO_DD (real_type s, real_type &nx_DD, real_type &ny_DD) const
 
void nor_ISO_DDD (real_type s, real_type &nx_DDD, real_type &ny_DDD) const
 
void nor_SAE (real_type s, real_type &nx, real_type &ny) const
 
void nor_SAE_D (real_type s, real_type &nx_D, real_type &ny_D) const
 
void nor_SAE_DD (real_type s, real_type &nx_DD, real_type &ny_DD) const
 
void nor_SAE_DDD (real_type s, real_type &nx_DDD, real_type &ny_DDD) const
 
real_type X_SAE (real_type s, real_type offs) const
 
real_type Y_SAE (real_type s, real_type offs) const
 
real_type X_SAE_D (real_type s, real_type offs) const
 
real_type Y_SAE_D (real_type s, real_type offs) const
 
real_type X_SAE_DD (real_type s, real_type offs) const
 
real_type Y_SAE_DD (real_type s, real_type offs) const
 
real_type X_SAE_DDD (real_type s, real_type offs) const
 
real_type Y_SAE_DDD (real_type s, real_type offs) const
 
void eval_SAE (real_type s, real_type offs, real_type &x, real_type &y) const
 
void eval_SAE_D (real_type s, real_type offs, real_type &x_D, real_type &y_D) const
 
void eval_SAE_DD (real_type s, real_type offs, real_type &x_DD, real_type &y_DD) const
 
void eval_SAE_DDD (real_type s, real_type offs, real_type &x_DDD, real_type &y_DDD) const
 
bool collision_SAE (real_type offs, BaseCurve const *pC, real_type offs_C) const
 
void intersect_SAE (real_type offs, BaseCurve const *pC, real_type offs_C, IntersectList &ilist) const
 
integer closest_point_SAE (real_type qx, real_type qy, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const
 
integer closest_point_SAE (real_type qx, real_type qy, real_type offs, real_type &x, real_type &y, real_type &s, real_type &t, real_type &dst) const
 
virtual real_type distance (real_type qx, real_type qy) const
 
real_type distance_ISO (real_type qx, real_type qy, real_type offs) const
 
real_type distance_SAE (real_type qx, real_type qy, real_type offs) const
 
bool findST_ISO (real_type x, real_type y, real_type &s, real_type &t) const
 
bool findST_SAE (real_type x, real_type y, real_type &s, real_type &t) const
 

Friends

class Biarc
 
class ClothoidCurve
 
ostream_typeoperator<< (ostream_type &stream, CircleArc const &bi)
 

Detailed Description

Class to manage a circle arc

Constructor & Destructor Documentation

◆ CircleArc() [1/5]

G2lib::CircleArc::CircleArc ( )
delete

eof: BaseCurve_using.hxx Build an empty circle

◆ CircleArc() [2/5]

G2lib::CircleArc::CircleArc ( CircleArc const & s)
inline

Build a copy of an existing circle arc.

◆ CircleArc() [3/5]

G2lib::CircleArc::CircleArc ( real_type x0,
real_type y0,
real_type theta0,
real_type k,
real_type L,
string const & name )
inlineexplicit

Construct a circle arc with the standard parameters.

Parameters
[in]x0starting position \(x\)-coordinate
[in]y0starting position \(y\)-coordinate
[in]theta0initial angle
[in]kcurvature
[in]Llength
[in]namename of the circle arc

◆ CircleArc() [4/5]

G2lib::CircleArc::CircleArc ( LineSegment const & LS)
inlineexplicit

Construct a circle arc from a line segment (degenerate circle).

◆ CircleArc() [5/5]

G2lib::CircleArc::CircleArc ( BaseCurve const * pC)
explicit

Build a circle arc from a generic curve (if possibile).

Member Function Documentation

◆ bb_triangles()

void G2lib::CircleArc::bb_triangles ( vector< Triangle2D > & tvec,
real_type max_angle = Utils::m_pi/18,
real_type max_size = 1e100,
integer icurve = 0 ) const
overridevirtual

Get the bounding box triangle list of the circle arc with offset.

Parameters
[out]tvecthe bounding triangle list
[in]max_anglemaximum angle variation admitted for all splitted segment
[in]max_sizemaximum size admitted for all splitted segment
[in]icurveid stored in the triangles

Implements G2lib::BaseCurve.

◆ bb_triangles_ISO()

void G2lib::CircleArc::bb_triangles_ISO ( real_type offs,
vector< Triangle2D > & tvec,
real_type max_angle = Utils::m_pi/18,
real_type max_size = 1e100,
integer icurve = 0 ) const
overridevirtual

Get the bounding box triangle list of the circle arc with offset.

Parameters
[in]offsoffset
[out]tvecthe bounding triangle list
[in]max_anglemaximum angle variation admitted for all splitted segment
[in]max_sizemaximum size admitted for all splitted segment
[in]icurveid stored in the triangles

Implements G2lib::BaseCurve.

◆ bb_triangles_SAE()

void G2lib::CircleArc::bb_triangles_SAE ( real_type offs,
vector< Triangle2D > & tvec,
real_type max_angle = Utils::m_pi/18,
real_type max_size = 1e100,
integer icurve = 0 ) const
inlineoverridevirtual

Get the bounding box triangle list of the circle arc with offset.

Parameters
[in]offsoffset
[out]tvecthe bounding triangle list
[in]max_anglemaximum angle variation admitted for all splitted segment
[in]max_sizemaximum size admitted for all splitted segment
[in]icurveid stored in the triangles

Implements G2lib::BaseCurve.

◆ bbox()

void G2lib::CircleArc::bbox ( real_type & xmin,
real_type & ymin,
real_type & xmax,
real_type & ymax ) const
overridevirtual

Compute the bounding box of the curve.

Parameters
[out]xminleft bottom
[out]yminleft bottom
[out]xmaxright top
[out]ymaxright top

Implements G2lib::BaseCurve.

◆ bbox_ISO()

void G2lib::CircleArc::bbox_ISO ( real_type offs,
real_type & xmin,
real_type & ymin,
real_type & xmax,
real_type & ymax ) const
overridevirtual

Compute the bounding box of the curve with offset (ISO).

Parameters
[in]offscurve offset
[out]xminleft bottom
[out]yminleft bottom
[out]xmaxright top
[out]ymaxright top

Implements G2lib::BaseCurve.

◆ bbTriangle() [1/3]

bool G2lib::CircleArc::bbTriangle ( real_type & x0,
real_type & y0,
real_type & x1,
real_type & y1,
real_type & x2,
real_type & y2 ) const

Get the bounding box triangle (if angle variation less that pi/3).

Parameters
[out]x0first triangle point \(x\)-coordinate
[out]y0first triangle point \(y\)-coordinate
[out]x1second triangle point \(x\)-coordinate
[out]y1second triangle point \(y\)-coordinate
[out]x2third triangle point \(x\)-coordinate
[out]y2third triangle point \(y\)-coordinate
Returns
true if success

◆ bbTriangle() [2/3]

bool G2lib::CircleArc::bbTriangle ( real_type p0[],
real_type p1[],
real_type p2[] ) const
inline

Get the bounding box triangle of the circle (if angle variation less that \( \pi/3 \)).

Parameters
[out]p0first triangle point
[out]p1second triangle point
[out]p2third triangle point
Returns
true if success

◆ bbTriangle() [3/3]

bool G2lib::CircleArc::bbTriangle ( Triangle2D & t,
real_type ss0 = 0,
real_type ss1 = 0,
integer icurve = 0 ) const
inline

Get the bounding box triangle list of the circle arc.

Parameters
[out]tthe bounding triangle
[in]ss0s0 stored in the triangle class
[in]ss1s1 stored in the triangle class
[in]icurveid stored in the triangle class
Returns
true if success

◆ bbTriangle_ISO() [1/3]

bool G2lib::CircleArc::bbTriangle_ISO ( real_type offs,
real_type & x0,
real_type & y0,
real_type & x1,
real_type & y1,
real_type & x2,
real_type & y2 ) const

Get the bounding box triangle of the circle arc with offset (if angle variation less that \( \pi/3 \)).

Parameters
[in]offsoffset
[out]x0first triangle point \(x\)-coordinate
[out]y0first triangle point \(y\)-coordinate
[out]x1second triangle point \(x\)-coordinate
[out]y1second triangle point \(y\)-coordinate
[out]x2third triangle point \(x\)-coordinate
[out]y2third triangle point \(y\)-coordinate
Returns
true if success

◆ bbTriangle_ISO() [2/3]

bool G2lib::CircleArc::bbTriangle_ISO ( real_type offs,
real_type p0[],
real_type p1[],
real_type p2[] ) const
inline

Get the bounding box triangle of the circle arc with offset (if angle variation less that \( \pi/3 \)).

Parameters
[in]offsoffset
[out]p0first triangle point
[out]p1second triangle point
[out]p2third triangle point
Returns
true if success

◆ bbTriangle_ISO() [3/3]

bool G2lib::CircleArc::bbTriangle_ISO ( real_type offs,
Triangle2D & t,
real_type ss0 = 0,
real_type ss1 = 0,
integer icurve = 0 ) const
inline

Get the bounding box triangle list of the circle arc with offset.

Parameters
[in]offsoffset
[out]tthe bounding triangle
[in]ss0s0 stored in the triangle class
[in]ss1s1 stored in the triangle class
[in]icurveid stored in the triangle class
Returns
true if success

◆ bbTriangle_SAE() [1/3]

bool G2lib::CircleArc::bbTriangle_SAE ( real_type offs,
real_type & x0,
real_type & y0,
real_type & x1,
real_type & y1,
real_type & x2,
real_type & y2 ) const
inline

Get the bounding box triangle of the circle arc with offset if angle variation less that \( \pi/3 \)).

Parameters
[in]offsoffset
[out]x0first triangle point \(x\)-coordinate
[out]y0first triangle point \(y\)-coordinate
[out]x1second triangle point \(x\)-coordinate
[out]y1second triangle point \(y\)-coordinate
[out]x2third triangle point \(x\)-coordinate
[out]y2third triangle point \(y\)-coordinate
Returns
true if success

◆ bbTriangle_SAE() [2/3]

bool G2lib::CircleArc::bbTriangle_SAE ( real_type offs,
real_type p0[],
real_type p1[],
real_type p2[] ) const
inline

Get the bounding box triangle of the circle arc with offset (if angle variation less that \( \pi/3 \)).

Parameters
[in]offsoffset
[out]p0first triangle point
[out]p1second triangle point
[out]p2third triangle point
Returns
true if success

◆ bbTriangle_SAE() [3/3]

bool G2lib::CircleArc::bbTriangle_SAE ( real_type offs,
Triangle2D & t,
real_type ss0 = 0,
real_type ss1 = 0,
integer icurve = 0 ) const
inline

Get the bounding box triangle list of the circle arc with offset.

Parameters
[in]offsoffset
[out]tthe bounding triangle
[in]ss0s0 stored in the triangle class
[in]ss1s1 stored in the triangle class
[in]icurveid stored in the triangle class
Returns
true if success

◆ build() [1/2]

void G2lib::CircleArc::build ( LineSegment const & LS)

Construct a circle arc from a line segment (degenerate circle).

◆ build() [2/2]

void G2lib::CircleArc::build ( real_type x0,
real_type y0,
real_type theta0,
real_type k,
real_type L )
inline

Construct a circle arc with the standard parameters.

Parameters
[in]x0starting position \(x\)-coordinate
[in]y0starting position \(y\)-coordinate
[in]theta0initial angle
[in]kcurvature
[in]Llength

◆ build_3P()

bool G2lib::CircleArc::build_3P ( real_type x0,
real_type y0,
real_type x1,
real_type y1,
real_type x2,
real_type y2 )

Build a circle passing by 3 points.

Parameters
[in]x0starting point \(x\)-coordinate
[in]y0starting point \(y\)-coordinate
[in]x1intermediate point \(x\)-coordinate
[in]y1intermediate point \(y\)-coordinate
[in]x2final point \(x\)-coordinate
[in]y2final point \(y\)-coordinate
Returns
true if success

◆ build_G1()

bool G2lib::CircleArc::build_G1 ( real_type x0,
real_type y0,
real_type theta0,
real_type x1,
real_type y1 )

Build a circle by solving the hermite \( G^1 \) problem.

Parameters
[in]x0starting position \(x\)-coordinate
[in]y0starting position \(y\)-coordinate
[in]theta0initial angle
[in]x1final position \(x\)-coordinate
[in]y1final position \(y\)-coordinate
Returns
true if success

◆ center()

void G2lib::CircleArc::center ( real_type & cx,
real_type & cy ) const

Get the center of the circle arc \( (c_x,c_y) \).

Parameters
[in]cx\( c_x \)
[in]cy\( c_y \)

◆ change_curvilinear_origin()

void G2lib::CircleArc::change_curvilinear_origin ( real_type s0,
real_type newL )

Change the origin of the circle arc at \( s_0 \) and the length of the arc to \( L \).

Parameters
[in]s0\( s_0 \)
[in]newL\( L \)

◆ change_origin()

void G2lib::CircleArc::change_origin ( real_type newx0,
real_type newy0 )
inlineoverridevirtual

Translate curve so that origin will be (newx0, newy0).

Implements G2lib::BaseCurve.

◆ closest_point_ISO() [1/2]

integer G2lib::CircleArc::closest_point_ISO ( real_type qx,
real_type qy,
real_type & x,
real_type & y,
real_type & s,
real_type & t,
real_type & dst ) const
overridevirtual

Given a point find closest point on the curve.

Parameters
qx\(x\)-coordinate of the point
qy\(y\)-coordinate of the point
x\(x\)-coordinate of the projected point on the curve
y\(y\)-coordinate of the projected point on the curve
sparameter on the curve of the projection
tcurvilinear coordinate of the point x,y (if orthogonal projection)
dstdistance point projected point
Returns
1 = point is projected orthogonal 0 = more than one projection (first returned) -1 = minimum point is not othogonal projection to curve

Implements G2lib::BaseCurve.

◆ closest_point_ISO() [2/2]

integer G2lib::CircleArc::closest_point_ISO ( real_type qx,
real_type qy,
real_type offs,
real_type & x,
real_type & y,
real_type & s,
real_type & t,
real_type & dst ) const
overridevirtual

Given a point find closest point on the curve.

Parameters
qx\(x\)-coordinate of the point
qy\(y\)-coordinate of the point
offsoffset of the curve
x\(x\)-coordinate of the projected point on the curve
y\(y\)-coordinate of the projected point on the curve
sparameter on the curve of the projection
tcurvilinear coordinate of the point x,y (if orthogonal projection)
dstdistance point projected point
Returns
1 = point is projected orthogonal 0 = more than one projection (first returned) -1 = minimum point is not othogonal projection to curve

Implements G2lib::BaseCurve.

◆ closest_point_SAE() [1/2]

integer G2lib::BaseCurve::closest_point_SAE ( real_type qx,
real_type qy,
real_type & x,
real_type & y,
real_type & s,
real_type & t,
real_type & dst ) const
inline

Given a point find closest point on the curve.

Parameters
qx\(x\)-coordinate of the point
qy\(y\)-coordinate of the point
x\(x\)-coordinate of the projected point on the curve
y\(y\)-coordinate of the projected point on the curve
sparameter on the curve of the projection
tcurvilinear coordinate of the point x,y (if orthogonal projection)
dstdistance point projected point
Returns
1 = point is projected orthogonal 0 = more than one projection (first returned) -1 = minimum point is not othogonal projection to curve

◆ closest_point_SAE() [2/2]

integer G2lib::BaseCurve::closest_point_SAE ( real_type qx,
real_type qy,
real_type offs,
real_type & x,
real_type & y,
real_type & s,
real_type & t,
real_type & dst ) const
inline

Given a point find closest point on the curve.

Parameters
qx\(x\)-coordinate of the point
qy\(y\)-coordinate of the point
offsoffset of the curve
x\(x\)-coordinate of the projected point on the curve
y\(y\)-coordinate of the projected point on the curve
sparameter on the curve of the projection
tcurvilinear coordinate of the point x,y (if orthogonal projection)
dstdistance point projected point
Returns
1 = point is projected orthogonal 0 = more than one projection (first returned) -1 = minimum point is not othogonal projection to curve

◆ collision() [1/2]

bool G2lib::CircleArc::collision ( BaseCurve const * pC) const
overridevirtual

Check collision with another curve.

Implements G2lib::BaseCurve.

◆ collision() [2/2]

bool G2lib::CircleArc::collision ( CircleArc const & C) const

Detect a collision with another circle arc.

◆ collision_ISO() [1/2]

bool G2lib::CircleArc::collision_ISO ( real_type offs,
BaseCurve const * pC,
real_type offs_C ) const
overridevirtual

Check collision with another curve with offset (ISO).

Parameters
[in]offscurve offset
[in]pCsecond curve to check collision
[in]offs_Ccurve offset of the second curve
Returns
true if collision is detected

Implements G2lib::BaseCurve.

◆ collision_ISO() [2/2]

bool G2lib::CircleArc::collision_ISO ( real_type offs,
CircleArc const & C,
real_type offs_obj ) const

Detect a collision with another circle arc with offset.

Parameters
[in]offsoffset of first circle arc
[in]Csecond circle arc
[in]offs_objoffset of second circle arc

◆ copy()

void G2lib::CircleArc::copy ( CircleArc const & c)
inline

Make a copy of an existing circle arc.

◆ cos_theta0()

real_type G2lib::CircleArc::cos_theta0 ( ) const
inline

Return \( \cos \theta_0 \) where \( \theta_0 \) is the initial tangent angle.

◆ curvature()

real_type G2lib::CircleArc::curvature ( ) const
inline

Return curvature of the circle arc.

◆ delta_theta()

real_type G2lib::CircleArc::delta_theta ( ) const
inline

Return the tangent angle variation in the circle arc.

◆ distance_ISO()

real_type G2lib::BaseCurve::distance_ISO ( real_type qx,
real_type qy,
real_type offs ) const
inline

Compute the distance between a point \(q=(q_x,q_y)\) and the curve with offset (ISO).

Parameters
[in]qxcomponent \(q_x\)
[in]qycomponent \(q_y\)
[in]offsoffset of the curve
Returns
the computed distance

◆ distance_SAE()

real_type G2lib::BaseCurve::distance_SAE ( real_type qx,
real_type qy,
real_type offs ) const
inline

Compute the distance between a point \(q=(q_x,q_y)\) and the curve with offset (SAE).

Parameters
[in]qxcomponent \(q_x\)
[in]qycomponent \(q_y\)
[in]offsoffset of the curve
Returns
the computed distance

◆ eval()

void G2lib::CircleArc::eval ( real_type s,
real_type & x,
real_type & y ) const
overridevirtual

x and \(y\)-coordinate at curvilinear coordinate \(s\).

Implements G2lib::BaseCurve.

◆ eval_D()

void G2lib::CircleArc::eval_D ( real_type s,
real_type & x_D,
real_type & y_D ) const
overridevirtual

x and \(y\)-coordinate derivative at curvilinear coordinate \(s\).

Implements G2lib::BaseCurve.

◆ eval_DD()

void G2lib::CircleArc::eval_DD ( real_type s,
real_type & x_DD,
real_type & y_DD ) const
overridevirtual

x and \(y\)-coordinate second derivative at curvilinear coordinate \(s\).

Implements G2lib::BaseCurve.

◆ eval_DDD()

void G2lib::CircleArc::eval_DDD ( real_type s,
real_type & x_DDD,
real_type & y_DDD ) const
overridevirtual

x and \(y\)-coordinate third derivative at curvilinear coordinate \(s\).

Implements G2lib::BaseCurve.

◆ eval_ISO()

virtual void G2lib::BaseCurve::eval_ISO ( real_type s,
real_type offs,
real_type & x,
real_type & y ) const
virtual

Compute curve at position s with offset offs (ISO).

Parameters
[in]sparameter on the curve
[in]offsoffset of the curve
[out]xcoordinate
[out]ycoordinate

Reimplemented from G2lib::BaseCurve.

◆ eval_ISO_D()

virtual void G2lib::BaseCurve::eval_ISO_D ( real_type s,
real_type offs,
real_type & x_D,
real_type & y_D ) const
virtual

Compute derivative curve at position s with offset offs (ISO).

Parameters
[in]sparameter on the curve
[in]offsoffset of the curve
[out]x_D\(x\)-coordinate
[out]y_D\(y\)-coordinate

Reimplemented from G2lib::BaseCurve.

◆ eval_ISO_DD()

virtual void G2lib::BaseCurve::eval_ISO_DD ( real_type s,
real_type offs,
real_type & x_DD,
real_type & y_DD ) const
virtual

Compute second derivative curve at position s with offset offs (ISO).

Parameters
[in]sparameter on the curve
[in]offsoffset of the curve
[out]x_DD\(x\)-coordinate second derivative
[out]y_DD\(y\)-coordinate second derivative

Reimplemented from G2lib::BaseCurve.

◆ eval_ISO_DDD()

virtual void G2lib::BaseCurve::eval_ISO_DDD ( real_type s,
real_type offs,
real_type & x_DDD,
real_type & y_DDD ) const
virtual

Compute third derivative curve at position s with offset offs (ISO).

Parameters
[in]sparameter on the curve
[in]offsoffset of the curve
[out]x_DDD\(x\)-coordinate third derivative
[out]y_DDD\(y\)-coordinate third derivative

Reimplemented from G2lib::BaseCurve.

◆ eval_SAE()

void G2lib::BaseCurve::eval_SAE ( real_type s,
real_type offs,
real_type & x,
real_type & y ) const
inline

Compute curve at position s with offset offs (SAE).

Parameters
[in]sparameter on the curve
[in]offsoffset of the curve
[out]xcoordinate
[out]ycoordinate

◆ eval_SAE_D()

void G2lib::BaseCurve::eval_SAE_D ( real_type s,
real_type offs,
real_type & x_D,
real_type & y_D ) const
inline

Compute derivative curve at position s with offset offs (SAE).

Parameters
[in]sparameter on the curve
[in]offsoffset of the curve
[out]x_D\(x\)-coordinate first derivative
[out]y_D\(y\)-coordinate first derivative

◆ eval_SAE_DD()

void G2lib::BaseCurve::eval_SAE_DD ( real_type s,
real_type offs,
real_type & x_DD,
real_type & y_DD ) const
inline

Compute second derivative curve at position s with offset offs (SAE).

Parameters
[in]sparameter on the curve
[in]offsoffset of the curve
[out]x_DD\(x\)-coordinate second derivative
[out]y_DD\(y\)-coordinate second derivative

◆ eval_SAE_DDD()

void G2lib::BaseCurve::eval_SAE_DDD ( real_type s,
real_type offs,
real_type & x_DDD,
real_type & y_DDD ) const
inline

Compute third derivative curve at position s with offset offs (SAE).

Parameters
[in]sparameter on the curve
[in]offsoffset of the curve
[out]x_DDD\(x\)-coordinate third derivative
[out]y_DDD\(y\)-coordinate third derivative

◆ evaluate()

void G2lib::CircleArc::evaluate ( real_type s,
real_type & th,
real_type & k,
real_type & x,
real_type & y ) const
inlineoverridevirtual

Evaluate curve at curvilinear coordinate \(s\).

Parameters
[in]scurvilinear coordinate
[out]thangle
[out]kcurvature
[out]x\(x\)-coordinate
[out]y\(y\)-coordinate

Reimplemented from G2lib::BaseCurve.

◆ evaluate_ISO()

virtual void G2lib::BaseCurve::evaluate_ISO ( real_type s,
real_type offs,
real_type & th,
real_type & k,
real_type & x,
real_type & y ) const
inlinevirtual

Evaluate curve with offset at curvilinear coordinate \(s\) (ISO).

Parameters
[in]scurvilinear coordinate
[in]offsoffset
[out]thangle
[out]kcurvature
[out]x\(x\)-coordinate
[out]y\(y\)-coordinate

Reimplemented from G2lib::BaseCurve.

◆ evaluate_SAE()

virtual void G2lib::BaseCurve::evaluate_SAE ( real_type s,
real_type offs,
real_type & th,
real_type & k,
real_type & x,
real_type & y ) const
inlinevirtual

Evaluate curve with offset at curvilinear coordinate \(s\) (SAE).

Parameters
[in]scurvilinear coordinate
[in]offsoffset
[out]thangle
[out]kcurvature
[out]x\(x\)-coordinate
[out]y\(y\)-coordinate

Reimplemented from G2lib::BaseCurve.

◆ info()

void G2lib::CircleArc::info ( ostream_type & stream) const
inlineoverridevirtual

Pretty print of the curve data.

Implements G2lib::BaseCurve.

◆ intersect() [1/2]

void G2lib::CircleArc::intersect ( BaseCurve const * pC,
IntersectList & ilist ) const
overridevirtual

Intersect the curve with another curve.

Parameters
[in]pCsecond curve intersect
[out]ilistlist of the intersection (as parameter on the curves)

Implements G2lib::BaseCurve.

◆ intersect() [2/2]

void G2lib::CircleArc::intersect ( CircleArc const & obj,
IntersectList & ilist ) const

Intersect a circle arc with another circle arc.

Parameters
[in]objsecond biarc
[out]ilistlist of the intersection (as parameter on the curves)

◆ intersect_ISO() [1/2]

void G2lib::CircleArc::intersect_ISO ( real_type offs,
BaseCurve const * pC,
real_type offs_C,
IntersectList & ilist ) const
overridevirtual

Intersect the curve with another curve with offset (ISO)

Parameters
[in]offsoffset first curve
[in]pCsecond curve intersect
[in]offs_Coffset second curve
[out]ilistlist of the intersection (as parameter on the curves)

Implements G2lib::BaseCurve.

◆ intersect_ISO() [2/2]

void G2lib::CircleArc::intersect_ISO ( real_type offs,
CircleArc const & C,
real_type offs_obj,
IntersectList & ilist ) const

Intersect a circle arc with another circle arc with offset (ISO).

Parameters
[in]offsoffset of first circle arc
[in]Csecond circle arc
[in]offs_objoffset of second circle arc
[out]ilistlist of the intersection (as parameter on the curves)

◆ kappa_begin()

real_type G2lib::CircleArc::kappa_begin ( ) const
inlineoverridevirtual

Initial curvature.

Reimplemented from G2lib::BaseCurve.

◆ kappa_end()

real_type G2lib::CircleArc::kappa_end ( ) const
inlineoverridevirtual

Final curvature.

Reimplemented from G2lib::BaseCurve.

◆ len_tolerance()

real_type G2lib::CircleArc::len_tolerance ( real_type tol) const

Return the length of the arc that can approximated by a line segment.

◆ length()

real_type G2lib::CircleArc::length ( ) const
inlineoverridevirtual

The length of the curve

Implements G2lib::BaseCurve.

◆ length_ISO()

real_type G2lib::CircleArc::length_ISO ( real_type offs) const
inlineoverridevirtual

The length of the curve with offset (ISO)

Implements G2lib::BaseCurve.

◆ nx_begin_ISO()

real_type G2lib::CircleArc::nx_begin_ISO ( ) const
inlineoverridevirtual

Intial normal \(x\)-coordinate (ISO).

Reimplemented from G2lib::BaseCurve.

◆ nx_begin_SAE()

real_type G2lib::BaseCurve::nx_begin_SAE ( ) const
inline

Intial normal \(x\)-coordinate (SAE).

◆ nx_end_ISO()

virtual real_type G2lib::BaseCurve::nx_end_ISO ( ) const
inlinevirtual

Final normal \(x\)-coordinate (ISO).

Reimplemented from G2lib::BaseCurve.

◆ nx_end_SAE()

real_type G2lib::BaseCurve::nx_end_SAE ( ) const
inline

Final normal \(x\)-coordinate (SAE).

◆ ny_begin_ISO()

real_type G2lib::CircleArc::ny_begin_ISO ( ) const
inlineoverridevirtual

Intial normal \(y\)-coordinate (ISO).

Reimplemented from G2lib::BaseCurve.

◆ ny_begin_SAE()

real_type G2lib::BaseCurve::ny_begin_SAE ( ) const
inline

Intial normal \(y\)-coordinate (SAE).

◆ ny_end_ISO()

virtual real_type G2lib::BaseCurve::ny_end_ISO ( ) const
inlinevirtual

Final normal \(y\)-coordinate (ISO).

Reimplemented from G2lib::BaseCurve.

◆ ny_end_SAE()

real_type G2lib::BaseCurve::ny_end_SAE ( ) const
inline

Intial normal \(y\)-coordinate (SAE).

◆ operator=()

CircleArc const & G2lib::CircleArc::operator= ( CircleArc const & s)
inline

Make a copy of an existing circle arc.

◆ paramNURBS()

void G2lib::CircleArc::paramNURBS ( integer & n_knots,
integer & n_pnts ) const

Get the parameters to build a NURBS for the circle ars.

Parameters
[out]n_knotsnumber of knots for the NURBS
[out]n_pntsnumber of point of the polygon of the NURBS

◆ ray()

real_type G2lib::CircleArc::ray ( ) const
inline

Get the ray of the circle arc.

◆ reverse()

void G2lib::CircleArc::reverse ( )
overridevirtual

Reverse curve parameterization.

Implements G2lib::BaseCurve.

◆ rotate()

void G2lib::CircleArc::rotate ( real_type angle,
real_type cx,
real_type cy )
overridevirtual

Rotate curve by angle \(\theta\) centered at point \((c_x,c_y)\).

Parameters
[in]angleangle \(\theta\)
[in]cx\(c_x\)
[in]cy\(c_y\)

Implements G2lib::BaseCurve.

◆ scale()

void G2lib::CircleArc::scale ( real_type sc)
overridevirtual

Scale curve by factor sc.

Implements G2lib::BaseCurve.

◆ setup()

void G2lib::CircleArc::setup ( GenericContainer const & gc)
overridevirtual

Implements G2lib::BaseCurve.

◆ sin_theta0()

real_type G2lib::CircleArc::sin_theta0 ( ) const
inline

Return \( \sin \theta_0 \) where \( \theta_0 \) is the initial tangent angle.

◆ tg()

void G2lib::CircleArc::tg ( real_type s,
real_type & tg_x,
real_type & tg_y ) const
overridevirtual

Tangent at curvilinear coordinate \(s\).

Reimplemented from G2lib::BaseCurve.

◆ tg_D()

void G2lib::CircleArc::tg_D ( real_type s,
real_type & tg_x_D,
real_type & tg_y_D ) const
overridevirtual

Tangent derivative at curvilinear coordinate \(s\).

Reimplemented from G2lib::BaseCurve.

◆ tg_DD()

void G2lib::CircleArc::tg_DD ( real_type s,
real_type & tg_x_DD,
real_type & tg_y_DD ) const
overridevirtual

Tangent second derivative at curvilinear coordinate \(s\).

Reimplemented from G2lib::BaseCurve.

◆ tg_DDD()

void G2lib::CircleArc::tg_DDD ( real_type s,
real_type & tg_x_DDD,
real_type & tg_y_DDD ) const
overridevirtual

Tangent third derivative at curvilinear coordinate \(s\).

Reimplemented from G2lib::BaseCurve.

◆ theta()

real_type G2lib::CircleArc::theta ( real_type s) const
inlineoverridevirtual

Angle at curvilinear coordinate \(s\).

Implements G2lib::BaseCurve.

◆ theta_begin()

real_type G2lib::CircleArc::theta_begin ( ) const
inlineoverridevirtual

Initial angle of the curve.

Reimplemented from G2lib::BaseCurve.

◆ theta_D()

real_type G2lib::CircleArc::theta_D ( real_type s) const
inlineoverridevirtual

Angle derivative (curvature) at curvilinear coordinate \(s\).

Implements G2lib::BaseCurve.

◆ theta_DD()

real_type G2lib::CircleArc::theta_DD ( real_type s) const
inlineoverridevirtual

Angle second derivative (devitive of curvature) at curvilinear coordinate \(s\).

Implements G2lib::BaseCurve.

◆ theta_DDD()

real_type G2lib::CircleArc::theta_DDD ( real_type s) const
inlineoverridevirtual

Angle third derivative at curvilinear coordinate \(s\).

Implements G2lib::BaseCurve.

◆ theta_end()

virtual real_type G2lib::BaseCurve::theta_end ( ) const
inlinevirtual

Final angle of the curve.

Reimplemented from G2lib::BaseCurve.

◆ theta_min_max()

real_type G2lib::CircleArc::theta_min_max ( real_type & thMin,
real_type & thMax ) const

Minimum and maximum tangent angle.

Parameters
[out]thMinmimimum tangent angle
[out]thMaxmaximum tangent angle
Returns
thMax-thMin

◆ theta_total_variation()

real_type G2lib::CircleArc::theta_total_variation ( ) const
inline

Return the absolute value of the tangent angle variation in the circle arc.

◆ toNURBS()

void G2lib::CircleArc::toNURBS ( real_type knots[],
real_type Poly[][3] ) const

Get the parameters to build a NURBS for the circle ars.

Parameters
[out]knotsvector of the knots
[out]Polypoints of the polygon of the NURBS

◆ translate()

void G2lib::CircleArc::translate ( real_type tx,
real_type ty )
inlineoverridevirtual

translate curve by \((t_x,t_y)\)

Implements G2lib::BaseCurve.

◆ trim()

void G2lib::CircleArc::trim ( real_type s_begin,
real_type s_end )
overridevirtual

Cut curve at parametric coordinate s_begin and s_end.

Implements G2lib::BaseCurve.

◆ tx()

real_type G2lib::CircleArc::tx ( real_type s) const
inlineoverridevirtual

Tangent \(x\)-coordinate at curvilinear coordinate \(s\).

Reimplemented from G2lib::BaseCurve.

◆ tx_begin()

real_type G2lib::CircleArc::tx_begin ( ) const
inlineoverridevirtual

Initial tangent \(x\)-coordinate.

Reimplemented from G2lib::BaseCurve.

◆ tx_D()

real_type G2lib::CircleArc::tx_D ( real_type s) const
inlineoverridevirtual

Tangent derivative \(x\)-coordinate at curvilinear coordinate \(s\).

Reimplemented from G2lib::BaseCurve.

◆ tx_DD()

real_type G2lib::CircleArc::tx_DD ( real_type s) const
inlineoverridevirtual

Tangent second derivative \(x\)-coordinate at curvilinear coordinate \(s\).

Reimplemented from G2lib::BaseCurve.

◆ tx_DDD()

real_type G2lib::CircleArc::tx_DDD ( real_type s) const
inlineoverridevirtual

Tangent third derivative \(x\)-coordinate at curvilinear coordinate \(s\).

Reimplemented from G2lib::BaseCurve.

◆ tx_end()

virtual real_type G2lib::BaseCurve::tx_end ( ) const
inlinevirtual

Final tangent \(x\)-coordinate.

Reimplemented from G2lib::BaseCurve.

◆ ty()

real_type G2lib::CircleArc::ty ( real_type s) const
inlineoverridevirtual

Tangent \(y\)-coordinate at curvilinear coordinate \(s\).

Reimplemented from G2lib::BaseCurve.

◆ ty_begin()

real_type G2lib::CircleArc::ty_begin ( ) const
inlineoverridevirtual

Initial tangent \(y\)-coordinate.

Reimplemented from G2lib::BaseCurve.

◆ ty_D()

real_type G2lib::CircleArc::ty_D ( real_type s) const
inlineoverridevirtual

Tangent derivative \(y\)-coordinate at curvilinear coordinate \(s\).

Reimplemented from G2lib::BaseCurve.

◆ ty_DD()

real_type G2lib::CircleArc::ty_DD ( real_type s) const
inlineoverridevirtual

Tangent second derivative \(y\)-coordinate at curvilinear coordinate \(s\).

Reimplemented from G2lib::BaseCurve.

◆ ty_DDD()

real_type G2lib::CircleArc::ty_DDD ( real_type s) const
inlineoverridevirtual

Tangent third derivative \(y\)-coordinate at curvilinear coordinate \(s\).

Reimplemented from G2lib::BaseCurve.

◆ ty_end()

virtual real_type G2lib::BaseCurve::ty_end ( ) const
inlinevirtual

Final tangent \(y\)-coordinate.

Reimplemented from G2lib::BaseCurve.

◆ type()

CurveType G2lib::CircleArc::type ( ) const
inlineoverridevirtual

The name of the curve type

Implements G2lib::BaseCurve.

◆ X()

real_type G2lib::CircleArc::X ( real_type s) const
overridevirtual

\(x\)-coordinate at curvilinear coordinate \(s\).

Implements G2lib::BaseCurve.

◆ x_begin()

real_type G2lib::CircleArc::x_begin ( ) const
inlineoverridevirtual

Initial \(x\)-coordinate.

Reimplemented from G2lib::BaseCurve.

◆ x_begin_ISO()

virtual real_type G2lib::BaseCurve::x_begin_ISO ( real_type offs) const
inlinevirtual

Initial \(x\)-coordinate with offset (ISO standard).

Reimplemented from G2lib::BaseCurve.

◆ x_begin_SAE()

real_type G2lib::BaseCurve::x_begin_SAE ( real_type offs) const
inline

Initial \(x\)-coordinate with offset (SAE standard).

◆ X_D()

real_type G2lib::CircleArc::X_D ( real_type s) const
overridevirtual

\(x\)-coordinate derivative at curvilinear coordinate \(s\).

Implements G2lib::BaseCurve.

◆ X_DD()

real_type G2lib::CircleArc::X_DD ( real_type s) const
overridevirtual

\(x\)-coordinate second derivative at curvilinear coordinate \(s\).

Implements G2lib::BaseCurve.

◆ X_DDD()

real_type G2lib::CircleArc::X_DDD ( real_type s) const
overridevirtual

\(x\)-coordinate third derivative at curvilinear coordinate \(s\).

Implements G2lib::BaseCurve.

◆ x_end()

virtual real_type G2lib::BaseCurve::x_end ( ) const
inlinevirtual

Final \(x\)-coordinate.

Reimplemented from G2lib::BaseCurve.

◆ x_end_ISO()

virtual real_type G2lib::BaseCurve::x_end_ISO ( real_type offs) const
inlinevirtual

Final \(x\)-coordinate with offset (ISO standard).

Reimplemented from G2lib::BaseCurve.

◆ x_end_SAE()

real_type G2lib::BaseCurve::x_end_SAE ( real_type offs) const
inline

Final \(y\)-coordinate with offset (SAE standard).

◆ X_ISO()

virtual real_type G2lib::BaseCurve::X_ISO ( real_type s,
real_type offs ) const
virtual

\(x\)-coordinate at curvilinear coordinate \(s\) with offset offs (ISO).

Reimplemented from G2lib::BaseCurve.

◆ X_ISO_D()

virtual real_type G2lib::BaseCurve::X_ISO_D ( real_type s,
real_type offs ) const
virtual

\(x\)-coordinate derivative at curvilinear coordinate \(s\) with offset offs (ISO).

Reimplemented from G2lib::BaseCurve.

◆ X_ISO_DD()

virtual real_type G2lib::BaseCurve::X_ISO_DD ( real_type s,
real_type offs ) const
virtual

\(x\)-coordinate second derivative at curvilinear coordinate \(s\) with offset offs (ISO).

Reimplemented from G2lib::BaseCurve.

◆ X_ISO_DDD()

virtual real_type G2lib::BaseCurve::X_ISO_DDD ( real_type s,
real_type offs ) const
virtual

\(x\)-coordinate third derivative at curvilinear coordinate \(s\) with offset offs (ISO).

Reimplemented from G2lib::BaseCurve.

◆ X_SAE()

real_type G2lib::BaseCurve::X_SAE ( real_type s,
real_type offs ) const
inline

\(x\)-coordinate at curvilinear coordinate \(s\) with offset offs (SAE).

◆ X_SAE_D()

real_type G2lib::BaseCurve::X_SAE_D ( real_type s,
real_type offs ) const
inline

\(x\)-coordinate derivative at curvilinear coordinate \(s\) with offset offs (SAE).

◆ X_SAE_DD()

real_type G2lib::BaseCurve::X_SAE_DD ( real_type s,
real_type offs ) const
inline

\(x\)-coordinate second derivative at curvilinear coordinate \(s\) with offset offs (SAE).

◆ X_SAE_DDD()

real_type G2lib::BaseCurve::X_SAE_DDD ( real_type s,
real_type offs ) const
inline

\(x\)-coordinate third derivative at curvilinear coordinate \(s\) with offset offs (SAE).

◆ Y()

real_type G2lib::CircleArc::Y ( real_type s) const
overridevirtual

\(y\)-coordinate at curvilinear coordinate \(s\).

Implements G2lib::BaseCurve.

◆ y_begin()

real_type G2lib::CircleArc::y_begin ( ) const
inlineoverridevirtual

Initial \(y\)-coordinate.

Reimplemented from G2lib::BaseCurve.

◆ y_begin_ISO()

virtual real_type G2lib::BaseCurve::y_begin_ISO ( real_type offs) const
inlinevirtual

Initial \(y\)-coordinate with offset (ISO standard).

Reimplemented from G2lib::BaseCurve.

◆ y_begin_SAE()

real_type G2lib::BaseCurve::y_begin_SAE ( real_type offs) const
inline

Initial \(y\)-coordinate with offset (SAE standard).

◆ Y_D()

real_type G2lib::CircleArc::Y_D ( real_type s) const
overridevirtual

\(y\)-coordinate derivative at curvilinear coordinate \(s\).

Implements G2lib::BaseCurve.

◆ Y_DD()

real_type G2lib::CircleArc::Y_DD ( real_type s) const
overridevirtual

\(y\)-coordinate second derivative at curvilinear coordinate \(s\).

Implements G2lib::BaseCurve.

◆ Y_DDD()

real_type G2lib::CircleArc::Y_DDD ( real_type s) const
overridevirtual

\(y\)-coordinate third derivative at curvilinear coordinate \(s\).

Implements G2lib::BaseCurve.

◆ y_end()

virtual real_type G2lib::BaseCurve::y_end ( ) const
inlinevirtual

Final \(y\)-coordinate.

Reimplemented from G2lib::BaseCurve.

◆ y_end_ISO()

virtual real_type G2lib::BaseCurve::y_end_ISO ( real_type offs) const
inlinevirtual

Final \(y\)-coordinate with offset (ISO standard).

Reimplemented from G2lib::BaseCurve.

◆ y_end_SAE()

real_type G2lib::BaseCurve::y_end_SAE ( real_type offs) const
inline

Final \(y\)-coordinate with offset (ISO standard).

◆ Y_ISO()

virtual real_type G2lib::BaseCurve::Y_ISO ( real_type s,
real_type offs ) const
virtual

\(y\)-coordinate at curvilinear coordinate \(s\) with offset offs (ISO).

Reimplemented from G2lib::BaseCurve.

◆ Y_ISO_D()

virtual real_type G2lib::BaseCurve::Y_ISO_D ( real_type s,
real_type offs ) const
virtual

\(y\)-coordinate derivative at curvilinear coordinate \(s\) with offset offs (ISO).

Reimplemented from G2lib::BaseCurve.

◆ Y_ISO_DD()

virtual real_type G2lib::BaseCurve::Y_ISO_DD ( real_type s,
real_type offs ) const
virtual

\(y\)-coordinate second derivative at curvilinear coordinate \(s\) with offset offs (ISO).

Reimplemented from G2lib::BaseCurve.

◆ Y_ISO_DDD()

virtual real_type G2lib::BaseCurve::Y_ISO_DDD ( real_type s,
real_type offs ) const
virtual

\(y\)-coordinate third derivative at curvilinear coordinate \(s\) with offset offs (ISO).

Reimplemented from G2lib::BaseCurve.

◆ Y_SAE()

real_type G2lib::BaseCurve::Y_SAE ( real_type s,
real_type offs ) const
inline

\(y\)-coordinate at curvilinear coordinate \(s\) with offset offs (SAE).

◆ Y_SAE_D()

real_type G2lib::BaseCurve::Y_SAE_D ( real_type s,
real_type offs ) const
inline

\(y\)-coordinate derivative at curvilinear coordinate \(s\) with offset offs (SAE).

◆ Y_SAE_DD()

real_type G2lib::BaseCurve::Y_SAE_DD ( real_type s,
real_type offs ) const
inline

\(y\)-coordinate second derivative at curvilinear coordinate \(s\) with offset offs (SAE).

◆ Y_SAE_DDD()

real_type G2lib::BaseCurve::Y_SAE_DDD ( real_type s,
real_type offs ) const
inline

\(y\)-coordinate third derivative at curvilinear coordinate \(s\) with offset offs (SAE).

Friends And Related Symbol Documentation

◆ operator<<

ostream_type & operator<< ( ostream_type & stream,
CircleArc const & bi )
friend

Print on strem the CircleArc object

Parameters
streamthe output stream
can instance of CircleArc object
Returns
the output stream

The documentation for this class was generated from the following files:
  • /Users/enrico/Ricerca/develop/PINS/pins-mechatronix/LibSources/submodules/Clothoids/src/Clothoids/Circle.hxx
  • /Users/enrico/Ricerca/develop/PINS/pins-mechatronix/LibSources/submodules/Clothoids/src/Circle.cc