|
CartoType C++ API 7.8.2, 2022-03-25
for Windows, Linux, Qt and other platforms supporting C++ development
|
#include <cartotype_base.h>
Public Member Functions | |
| constexpr | TOutlinePointFP () noexcept |
| constexpr | TOutlinePointFP (const TOutlinePointFP &aPoint)=default |
| constexpr | TOutlinePointFP (const TPoint &aPoint) noexcept |
| constexpr | TOutlinePointFP (const TOutlinePoint &aPoint) noexcept |
| constexpr | TOutlinePointFP (const TPoint &aPoint, TPointType aType) noexcept |
| constexpr | TOutlinePointFP (const TPointFP &aPoint) noexcept |
| constexpr | TOutlinePointFP (const TPointFP &aPoint, TPointType aType) noexcept |
| constexpr | TOutlinePointFP (double aX, double aY) noexcept |
| constexpr | TOutlinePointFP (double aX, double aY, TPointType aType) noexcept |
| constexpr bool | operator== (const TOutlinePointFP &aPoint) const noexcept |
| constexpr bool | operator!= (const TOutlinePointFP &aPoint) const noexcept |
Public Member Functions inherited from CartoType::TPoint2< double > | |
| constexpr | TPoint2 () noexcept |
| constexpr | TPoint2 (double aX, double aY) noexcept |
| constexpr | TPoint2 (const TPoint &aPoint) noexcept |
| bool | operator== (const TPoint2< double > &aPoint) const noexcept |
| bool | operator!= (const TPoint2< double > &aPoint) const noexcept |
| void | operator+= (const TPoint2< double > &aPoint) noexcept |
| void | operator-= (const TPoint2< double > &aPoint) noexcept |
| void | operator*= (double aFactor) noexcept |
| bool | operator< (const TPoint2< double > &aPoint) const noexcept |
| bool | operator> (const TPoint2< double > &aPoint) const noexcept |
| double | VectorLength () const noexcept |
| double | DistanceFrom (const TPoint2< double > &aOther) const noexcept |
| double | CrossProduct (const TPoint2< double > &aOther) const noexcept |
| TPoint2 | UnitVector () const noexcept |
| TPoint2 | LeftUnitVector () const noexcept |
| TPoint2 | RightUnitVector () const noexcept |
| bool | LeftOfVector (const TPoint2< double > &aPoint) const noexcept |
| bool | RightOfVector (const TPoint2< double > &aPoint) const noexcept |
| TPoint | Rounded () const noexcept |
| TPoint | Rounded64ths () const noexcept |
| void | Rotate (double aAngle) |
Public Attributes | |
| TPointType | iType { TPointType::OnCurve } |
Public Attributes inherited from CartoType::TPoint2< double > | |
| double | iX |
| double | iY |
A point on a path, using floating-point coordinates. Paths are made from straight line segments and Bezier splines.
|
inlineconstexprnoexcept |
Create an on-curve outline point with the coordinates (0,0).
|
constexprdefault |
The copy constructor.
|
inlineconstexprnoexcept |
Create an on-curve outline point from a TPoint.
|
inlineconstexprnoexcept |
Create an outline point from a TOutlinePoint.
|
inlineconstexprnoexcept |
Create an outline point from a TPoint and a type.
|
inlineconstexprnoexcept |
Create an on-curve outline point from a TPoint.
|
inlineconstexprnoexcept |
Create an outline point from a TPoint and a type.
|
inlineconstexprnoexcept |
Create an on-curve outline point, specifying coordinates.
|
inlineconstexprnoexcept |
Create an outline point, specifying coordinates and type.
|
inlineconstexprnoexcept |
The inequality operator.
|
inlineconstexprnoexcept |
The equality operator.
| TPointType CartoType::TOutlinePointFP::iType { TPointType::OnCurve } |
The type of an outline point: on-curve, or a quadratic or cubic control point.