/external/jmonkeyengine/engine/src/bullet-native/ |
com_jme3_bullet_util_DebugShapeFactory.cpp | 101 // Check there is a hull shape to render 103 // create a hull approximation 104 btShapeHull* hull = new btShapeHull(convexShape); local 106 hull->buildHull(margin); 107 convexShape->setUserPointer(hull); 110 btShapeHull* hull = (btShapeHull*) convexShape->getUserPointer(); local 112 int numberOfTriangles = hull->numTriangles(); 117 const unsigned int* hullIndices = hull->getIndexPointer(); 118 const btVector3* hullVertices = hull->getVertexPointer(); 123 // Grab the data for this triangle from the hull [all...] |
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/util/ |
DebugShapeFactory.java | 159 // Check there is a hull shape to render 161 // create a hull approximation 162 ShapeHull hull = new ShapeHull(convexShape); local 164 hull.buildHull(margin); 165 convexShape.setUserPointer(hull); 168 // Assert state - should have a pointer to a hull (shape) that'll be drawn 170 ShapeHull hull = (ShapeHull) convexShape.getUserPointer(); local 173 assert hull.numTriangles() > 0 : "Expecting the Hull shape to have triangles"; 174 int numberOfTriangles = hull.numTriangles() [all...] |
/external/opencv/cv/src/ |
cvconvhull.cpp | 231 union { CvContour* c; CvSeq* s; } hull; local 238 hull.s = 0; 298 "The hull matrix should be continuous and have a single row or a single column" ); 301 CV_ERROR( CV_StsBadSize, "The hull matrix size might be not enough to fit the hull" ); 306 "The hull matrix must have the same type as input or 32sC1 (integers)" ); 397 /* gather upper part of convex hull to output */ 452 the bottom part of the convex hull is the mirrored top part 496 hull.s = hullseq; 497 hull.c->rect = cvBoundingRect( ptseq 536 CvSeq *ptseq = (CvSeq*)array, *hull = (CvSeq*)hullarray; local [all...] |
cvcalibinit.cpp | 1084 CvSeq *hull = cvConvexHull2( &pointMat, temp_storage, CV_CLOCKWISE, 1 ); local [all...] |
/external/chromium_org/third_party/skia/src/pathops/ |
SkDQuadIntersection.cpp | 151 SkDQuad hull = q1.subDivide(t1s, t1e); local 152 SkDLine line = {{hull[2], hull[0]}}; 153 const SkDLine* testLines[] = { &line, (const SkDLine*) &hull[0], (const SkDLine*) &hull[1] }; 187 bool startInTriangle = hull.pointInHull(end); 192 bool endInTriangle = hull.pointInHull(end);
|
/external/skia/src/pathops/ |
SkDQuadIntersection.cpp | 151 SkDQuad hull = q1.subDivide(t1s, t1e); local 152 SkDLine line = {{hull[2], hull[0]}}; 153 const SkDLine* testLines[] = { &line, (const SkDLine*) &hull[0], (const SkDLine*) &hull[1] }; 187 bool startInTriangle = hull.pointInHull(end); 192 bool endInTriangle = hull.pointInHull(end);
|
/external/opencv/cv/include/ |
cvcompat.h | 381 /* Calculates exact convex hull of 2d point set */ 384 int orientation, int* hull, int* hullsize ) 387 CvMat hull1 = cvMat( 1, num_points, CV_32SC1, hull ); 393 /* Calculates exact convex hull of 2d point set stored in a sequence */ 397 /* Calculates approximate convex hull of 2d point set */ 399 orientation, hull, hullsize ) \ 400 cvConvexHull( points, num_points, bound_rect, orientation, hull, hullsize ) 402 /* Calculates approximate convex hull of 2d point set stored in a sequence */ [all...] |