Blender V2.61 - r43446
Functions

BOP_Splitter.h File Reference

#include "BOP_MathUtils.h"
#include "BOP_Segment.h"
#include "BOP_Mesh.h"
#include "MT_Plane3.h"
#include "MT_Point3.h"

Go to the source code of this file.

Functions

MT_Point3 BOP_splitEdge (MT_Plane3 plane, BOP_Mesh *mesh, BOP_Face *face, unsigned int edge)
BOP_Segment BOP_splitFace (MT_Plane3 plane, BOP_Mesh *mesh, BOP_Face *face)

Detailed Description

Definition in file BOP_Splitter.h.


Function Documentation

MT_Point3 BOP_splitEdge ( MT_Plane3  plane,
BOP_Mesh m,
BOP_Face f,
unsigned int  e 
)

Returns the split point resulting from intersect a plane and a mesh face according to its specified relative edge.

Parameters:
planesplit plane
mmesh
fface
erelative edge index
Returns:
intersection point

Definition at line 47 of file BOP_Splitter.cpp.

References BOP_intersectPlane(), BOP_Vertex::getPoint(), BOP_Face::getVertex(), and BOP_Mesh::getVertex().

Referenced by BOP_getPoints().

BOP_Segment BOP_splitFace ( MT_Plane3  plane,
BOP_Mesh m,
BOP_Face f 
)