IcePlane.cpp
Go to the documentation of this file.
1 
8 
11 
17 
20 // Precompiled Header
21 #include "Stdafx.h"
22 
23 using namespace IceMaths;
24 
26 
33 Plane& Plane::Set(const Point& p0, const Point& p1, const Point& p2)
35 {
36  Point Edge0 = p1 - p0;
37  Point Edge1 = p2 - p0;
38 
39  n = Edge0 ^ Edge1;
40  n.Normalize();
41 
42  d = -(p0 | n);
43 
44  return *this;
45 }
autoplay.n
n
Definition: autoplay.py:12
Stdafx.h
Plane::Set
inline_ Plane & Set(float nx, float ny, float nz, float _d)
Definition: IcePlane.h:36
Plane
Definition: IcePlane.h:17
IceMaths
Definition: ColdetModel.h:24


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Wed Sep 7 2022 02:51:03