|
NAMEM_Line —
Agar-Math plane structure
SYNOPSIS#include <agar/math.h> DESCRIPTIONThe M_Plane structure describes a plane in R^3 (Ax+By+Cz+D=0):typedef struct m_plane { M_Vector3 n; /* Normal vector */ M_Real d; /* Distance to origin */ } M_Plane; The plane satisfies the equation A(n.x) + B(n.y) + C(n.z) = d. INITIALIZATIONM_PlaneM_PlaneFromPts (M_Vector3
p1, M_Vector p2,
M_Vector p3);
The The The macro TESTSM_RealM_PlaneVectorAngle (M_Plane
P, M_Vector3 v);
The SEE ALSOAG_DataSource(3), AG_Intro(3), M_Circle(3), M_Geometry(3), M_Plane(3), M_Polygon(3), M_Rectangle(3), M_Sphere(3), M_Triangle(3), M_Vector(3)HISTORYTheM_Line structure first appeared in Agar 1.3.4.
Visit the GSP FreeBSD Man Page Interface. |