#include <SkPathOpsPoint.h>
Definition at line 19 of file SkPathOpsPoint.h.
◆ asSkVector()
SkVector SkDVector::asSkVector |
( |
| ) |
const |
|
inline |
Definition at line 53 of file SkPathOpsPoint.h.
53 {
55 return v;
56 }
#define SkDoubleToScalar(x)
◆ cross()
double SkDVector::cross |
( |
const SkDVector & |
a | ) |
const |
|
inline |
◆ crossCheck()
double SkDVector::crossCheck |
( |
const SkDVector & |
a | ) |
const |
|
inline |
Definition at line 65 of file SkPathOpsPoint.h.
65 {
66 double xy =
fX *
a.fY;
67 double yx =
fY *
a.fX;
69 }
bool AlmostEqualUlps(const SkPoint &pt1, const SkPoint &pt2)
◆ crossNoNormalCheck()
double SkDVector::crossNoNormalCheck |
( |
const SkDVector & |
a | ) |
const |
|
inline |
Definition at line 72 of file SkPathOpsPoint.h.
72 {
73 double xy =
fX *
a.fY;
74 double yx =
fY *
a.fX;
76 }
bool AlmostEqualUlpsNoNormalCheck(float a, float b)
◆ dot()
double SkDVector::dot |
( |
const SkDVector & |
a | ) |
const |
|
inline |
◆ isFinite()
bool SkDVector::isFinite |
( |
| ) |
const |
|
inline |
Definition at line 97 of file SkPathOpsPoint.h.
97 {
99 }
static bool SkIsFinite(T x, Pack... values)
◆ length()
double SkDVector::length |
( |
| ) |
const |
|
inline |
Definition at line 82 of file SkPathOpsPoint.h.
82 {
84 }
SIN Vec< N, float > sqrt(const Vec< N, float > &x)
double lengthSquared() const
◆ lengthSquared()
double SkDVector::lengthSquared |
( |
| ) |
const |
|
inline |
◆ normalize()
Definition at line 90 of file SkPathOpsPoint.h.
90 {
94 return *this;
95 }
static constexpr double sk_ieee_double_divide(double numer, double denom)
◆ operator*=()
void SkDVector::operator*= |
( |
const double |
s | ) |
|
|
inline |
◆ operator+=()
void SkDVector::operator+= |
( |
const SkDVector & |
v | ) |
|
|
inline |
◆ operator-=()
void SkDVector::operator-= |
( |
const SkDVector & |
v | ) |
|
|
inline |
◆ operator/=()
void SkDVector::operator/= |
( |
const double |
s | ) |
|
|
inline |
◆ set()
◆ fX
◆ fY
The documentation for this struct was generated from the following file: