Lines Matching defs:Point3F
18 class GFX_EXPORT Point3F {
20 Point3F() : x_(0), y_(0), z_(0) {}
22 Point3F(float x, float y, float z) : x_(x), y_(y), z_(z) {}
24 explicit Point3F(const PointF& point) : x_(point.x()), y_(point.y()), z_(0) {}
26 ~Point3F() {}
65 float SquaredDistanceTo(const Point3F& other) const {
85 inline bool operator==(const Point3F& lhs, const Point3F& rhs) {
89 inline bool operator!=(const Point3F& lhs, const Point3F& rhs) {
94 GFX_EXPORT Point3F operator+(const Point3F& lhs, const Vector3dF& rhs);
98 GFX_EXPORT Point3F operator-(const Point3F& lhs, const Vector3dF& rhs);
102 GFX_EXPORT Vector3dF operator-(const Point3F& lhs, const Point3F& rhs);
104 inline Point3F PointAtOffsetFromOrigin(const Vector3dF& offset) {
105 return Point3F(offset.x(), offset.y(), offset.z());
108 inline Point3F ScalePoint(const Point3F& p,
112 return Point3F(p.x() * x_scale, p.y() * y_scale, p.z() * z_scale);
115 inline Point3F ScalePoint(const Point3F& p, float scale) {
122 void PrintTo(const Point3F& point, ::std::ostream* os);