CSubSpace3d Class Reference

#include <geometry.h>

List of all members.

Static Public Member Functions

static CSubSpace line (const CPoint3d &p, const CVector3d &v)
static CSubSpace plane (const CPoint3d &p, const CVector3d &v1, const CVector3d &v2)


Detailed Description

Helper class to create 3D subspaces (lines and planes)

Definition at line 224 of file geometry.h.


Member Function Documentation

CSubSpace CSubSpace3d::line ( const CPoint3d p,
const CVector3d v 
) [static]

CSubSpace CSubSpace3d::plane ( const CPoint3d p,
const CVector3d v1,
const CVector3d v2 
) [static]

Create a CSubSpace representing a 3D plane from a point and two vectors.

Parameters:
p a point of the plane
v1 a vector in the plane
v2 a second vector in the plane, not colinear with v1

Definition at line 119 of file geometry.cpp.

References CVector3d::cross(), and CVector::norm().

Referenced by CHullWorker::CHullWorker().


The documentation for this class was generated from the following files:

Generated on Sun Mar 22 21:38:32 2009 for Sailcut CAD by  doxygen 1.5.6