next up previous contents
Next: Transformations Up: Geometrical Primitives Previous: Curve Geometry   Contents

Plane Geometry

typedef struct plane
{
     Ts_id ts_id;                /* Tina structure identifier */
     unsigned int type;
     unsigned int label;
     struct vec3 p;
     struct vec3 n;
     struct list *props;

} Plane

data structure is used to represent planes in 3D.

Plane  *plane_alloc(unsigned int type)

Plane  *plane_make(Vec3 p, Vec3 n, int type)

Plane  *plane_copy(Plane * plane)

void    plane_free(Plane * plane)

void    plane_format(Plane * plane)

void    plane_transform(Plane * plane, Transform3 trans)

Bool    plane_coincident(Plane * p1, Plane * p2,
                         double dotthres, double poserror)



root 2017-09-25