00001 00026 MFPolytope MFCreateHyperCubeAtOrigin(int d,double halfedge, MFErrorHandler e); 00027 00036 MFPolytope MFCreateSimplexAtOrigin(int d,double side, MFErrorHandler e); 00037 00048 void MFSubtractHalfSpaceFromPolytope(MFPolytope P,int side,MFKVector n,double o, MFErrorHandler e); 00049 00061 void MFClipPolytope(MFPolytope P,int index,double *din,int mark, MFErrorHandler e); 00062 00070 int MFPolytopeDimension(MFPolytope P, MFErrorHandler e); 00071 00079 int MFPolytopeNumberOfVertices(MFPolytope P, MFErrorHandler e); 00080 00089 void MFPolytopeVertex(MFPolytope P,int i,MFKVector v, MFErrorHandler e); 00090 00100 int MFPolytopeVertexIndex(MFPolytope P,int v,int i, MFErrorHandler e); 00101 00110 int MFPolytopeNumberOfVertexIndices(MFPolytope P,int v, MFErrorHandler e); 00111 00120 double MFPolytopeRadiusOfVertex(MFPolytope P,int v, MFErrorHandler e); 00121 00129 double MFPolytopeLargestRadiusOfVertex(MFPolytope P, MFErrorHandler e); 00130 00138 int MFPolytopeNumberOfFaces(MFPolytope P, MFErrorHandler e); 00139 00148 int MFPolytopeFaceIndex(MFPolytope P,int f, MFErrorHandler e); 00149 00158 MFKVector MFPolytopeFaceNormal(MFPolytope P,int f, MFErrorHandler e); 00159 00168 double MFPolytopeFaceOrigin(MFPolytope P,int f, MFErrorHandler e); 00169 00178 int MFPolytopeNumberOfVerticesOnFace(MFPolytope P,int f, MFErrorHandler e); 00179 00188 int MFPolytopeInterior(MFPolytope P,MFKVector x, MFErrorHandler e); 00189 00198 MFPolytope MFPolytopeRemoveSmallEdges(MFPolytope P,double epsilon, MFErrorHandler e); 00199 00209 int MFPolytopeClosestFace(MFPolytope P,MFKVector x,double *d, MFErrorHandler e); 00210 00219 void MFPolytopeSetVertexMark(MFPolytope P,int v,int mark, MFErrorHandler e); 00220 00230 int MFPolytopeGetVertexMark(MFPolytope P,int v, MFErrorHandler e); 00231 00239 void MFRefPolytope(MFPolytope polytope, MFErrorHandler e); 00240 00248 void MFFreePolytope(MFPolytope polytope, MFErrorHandler e); 00249 00257 void MFWritePolytope(FILE* fid,MFPolytope polytope, MFErrorHandler e); 00258 00267 MFPolytope MFReadPolytope(FILE* fid,MFAtlas A, MFErrorHandler e); 00268