|   | 
Defines a bezier formed with a number of points.
| Public Member Functions | |
| OMC::DrawingVectorContour * | operator[] (int idx) const | 
| Returns the point at the given index on the bezier path.  More... | |
| bool | contains (OMC::Point2d *) const | 
| Identifies if the list contains the art layer object. | |
| bool | equivalent_reverse (OMC::Bezier *other) const | 
| Identifies if the reversed bezier is equivalent..  More... | |
| void | multiply (const QVariant &value) | 
| Multiply the bezier with a value.  More... | |
| void | round (double pointQuantum=1.0/64.0) | 
| Round the bezier with a point quantum.  More... | |
| void | reverse () | 
| Reverses this bezier. | |
| OMC::Bezier * | derivative () const | 
| Provides the derivative bezier of this bezier. | |
| bool | intersecting () const | 
| Identifies if the bezier is self-interesecting. | |
| bool | intersecting (OMC::Bezier *bez) const | 
| Identifies if the bezier is interesecting with another bezier segment. | |
| QList< OMC::Point2d * > | intersections () const | 
| Provides a list of all self-interestions.  More... | |
| QList< OMC::Point2d * > | intersections (OMC::Bezier *bez) const | 
| Provides a list of all interestions between the bezier curve provided.  More... | |
| double | closest_point (OMC::Point2d *) const | 
| Finds the evaluated value that would provide the nearest point on the curve.  More... | |
| OMC::Point2d * | evaluate (double t) const | 
| Evaluates the bezier at the given point along the curve.  More... | |
| OMC::Point2d * | evaluate_and_round (double t) const | 
| Evaluates the bezier at the given point along the curve.  More... | |
| OMC::Bezier * | split (double t) | 
| Splits the curve at a given point.  More... | |
| OMC::Bezier * | truncate (double from_t, double to_t) | 
| Truncates the bezier from a given point, to a given point.  More... | |
| void | straighten () | 
| Straightens the bezier into a single line segment.  More... | |
| virtual std::vector< OMC::Point2d * > | list () const override | 
| Converts the dynamic list into a concrete list of drawing vector stroke objects. | |
| Public Attributes | |
| int | degree | 
| QString | from_boundary | 
| double | from_parameter | 
| OMC::Vector2d * | from_tangent | 
| QString | to_boundary | 
| double | to_parameter | 
| OMC::Vector2d * | to_tangent | 
| OMC::AllocatedRect2d * | bounding_box | 
| bool | line | 
| bool | cusp | 
| uint | inflections | 
| double OMC::Bezier::closest_point | ( | OMC::Point2d * | ) | const | 
Finds the evaluated value that would provide the nearest point on the curve.
| bool OMC::Bezier::equivalent_reverse | ( | OMC::Bezier * | other | ) | const | 
Identifies if the reversed bezier is equivalent..
| OMC::Point2d* OMC::Bezier::evaluate | ( | double | t | ) | const | 
Evaluates the bezier at the given point along the curve.
Using a value from 0.0 to 1.0, returns a OMC::Point2d* along that curve.
| OMC::Point2d* OMC::Bezier::evaluate_and_round | ( | double | t | ) | const | 
Evaluates the bezier at the given point along the curve.
Using a value from 0.0 to 1.0, returns a rounded OMC::Point2d* along that curve.
| QList<OMC::Point2d*> OMC::Bezier::intersections | ( | ) | const | 
Provides a list of all self-interestions.
| QList<OMC::Point2d*> OMC::Bezier::intersections | ( | OMC::Bezier * | bez | ) | const | 
Provides a list of all interestions between the bezier curve provided.
| void OMC::Bezier::multiply | ( | const QVariant & | value | ) | 
Multiply the bezier with a value.
Multiplies the bezier in place with a value – the value can be a single number, or a matrix (only 2D components are considered).
| OMC::DrawingVectorContour* OMC::Bezier::operator[] | ( | int | idx | ) | const | 
Returns the point at the given index on the bezier path.
| void OMC::Bezier::round | ( | double | pointQuantum = 1.0/64.0 | ) | 
Round the bezier with a point quantum.
| OMC::Bezier* OMC::Bezier::split | ( | double | t | ) | 
Splits the curve at a given point.
Splits the curve at a given point along the curve. This curve will be the initial portion of the curve, from the starting point to the split point. The returned OMC::Bezier* provides the remaining portion of the curve, from the split point to the ending point
| void OMC::Bezier::straighten | ( | ) | 
Straightens the bezier into a single line segment.
Transform this bezier into a bezier of degree 1, representing a line segment.
| OMC::Bezier* OMC::Bezier::truncate | ( | double | from_t, | 
| double | to_t | ||
| ) | 
Truncates the bezier from a given point, to a given point.
Provides a truncated bezier between the given start point and endpoint. This does not modify the existing bezier, and returns the truncated bezier.
| OMC::Bezier::bounding_box | 
Get the bounding-box of the bezier.
| 
 | read | 
True if the bezier has a cusp.
| 
 | readwrite | 
Get and set the bezier's degree. Valid degrees are from 0 to 3.
| 
 | readwrite | 
Get and set the bezier's from boundary, valid values are Open and Closed.
| 
 | readwrite | 
Get and set the bezier's from paramater. This is the point at which the bezier begins to interpolate when evaluated.
| OMC::Bezier::from_tangent | 
Get the bezier's from tangent.
| 
 | read | 
The number of inflection points in the bezier curve.
| 
 | read | 
True if the bezier represents a line segment.
| 
 | readwrite | 
Get and set the bezier's to boundary, valid values are Open and Closed.
| 
 | readwrite | 
Get and set the bezier's to paramater. This is the point at which the bezier begins to interpolate when evaluated.
| OMC::Bezier::to_tangent | 
Get the bezier's to tangent.

