Home
last modified time | relevance | path

Searched refs:pointArray (Results 26 – 50 of 164) sorted by relevance

1234567

/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT/cairo/org/eclipse/swt/graphics/
H A DTransform.java359 public void transform(float[] pointArray) { in transform() argument
361 if (pointArray == null) SWT.error(SWT.ERROR_NULL_ARGUMENT); in transform()
363 int length = pointArray.length / 2; in transform()
365 dx[0] = DPIUtil.autoScaleUp(pointArray[j]); in transform()
366 dy[0] = DPIUtil.autoScaleUp(pointArray[j + 1]); in transform()
368 pointArray[j] = DPIUtil.autoScaleDown((float)dx[0]); in transform()
369 pointArray[j + 1] = DPIUtil.autoScaleDown((float)dy[0]); in transform()
/dports/math/vtk9/VTK-9.1.0/Filters/FlowPaths/Testing/Cxx/
H A DTestParallelVectors.cxx62 vtkSmartPointer<vtkPoints> pointArray = vtkSmartPointer<vtkPoints>::New(); in constructGrid() local
66 pointLocator->InitPointInsertion(pointArray, bounds); in constructGrid()
194 unstructuredGrid->SetPoints(pointArray); in constructGrid()
240 vtkPoints* pointArray = unstructuredGrid->GetPoints(); in constructFieldProfile() local
245 vField->SetNumberOfTuples(pointArray->GetNumberOfPoints()); in constructFieldProfile()
246 for (int i = 0; i < pointArray->GetNumberOfPoints(); ++i) in constructFieldProfile()
248 vField->SetTuple(i, v(pointArray->GetPoint(i)).data()); in constructFieldProfile()
255 wField->SetNumberOfTuples(pointArray->GetNumberOfPoints()); in constructFieldProfile()
256 for (int i = 0; i < pointArray->GetNumberOfPoints(); ++i) in constructFieldProfile()
258 wField->SetTuple(i, w(pointArray->GetPoint(i)).data()); in constructFieldProfile()
H A DTestVortexCore.cxx50 vtkSmartPointer<vtkPoints> pointArray = vtkSmartPointer<vtkPoints>::New(); in constructGrid() local
54 pointLocator->InitPointInsertion(pointArray, bounds); in constructGrid()
182 unstructuredGrid->SetPoints(pointArray); in constructGrid()
209 vtkPoints* pointArray = unstructuredGrid->GetPoints(); in constructVelocityProfile() local
214 velocityArray->SetNumberOfTuples(pointArray->GetNumberOfPoints()); in constructVelocityProfile()
216 for (int i = 0; i < pointArray->GetNumberOfPoints(); ++i) in constructVelocityProfile()
218 velocityArray->SetTuple(i, velocity(pointArray->GetPoint(i)).data()); in constructVelocityProfile()
/dports/math/vtk9/VTK-9.1.0/Filters/Core/
H A DvtkElevationFilter.cxx50 PointArrayT* pointArray, vtkElevationFilter* filter, float* scalars, const double* v, double l2) in vtkElevationAlgorithm()
51 : NumPts{ pointArray->GetNumberOfTuples() } in vtkElevationAlgorithm()
52 , PointArray{ pointArray }
99 PointArrayT* pointArray, vtkElevationFilter* filter, double* v, double l2, float* scalars) in operator ()()
102 vtkElevationAlgorithm<PointArrayT> algo{ pointArray, filter, scalars, v, l2 }; in operator ()()
103 vtkSMPTools::For(0, pointArray->GetNumberOfTuples(), algo); in operator ()()
/dports/biology/seqan1/seqan-1.3.1/seqan/seeds/
H A Dglobal_seed_chain.h119 TMultiMap pointArray, test; //sorted by x-coodinate in globalChaining() local
125 pointArray.insert(std::make_pair(leftDim0(*it), Pair<bool, TChainElement*>(true, pElement))); in globalChaining()
132 pointArray.insert(std::make_pair(it->first, it->second)); in globalChaining()
137 TMapIterator it_map_end = pointArray.end(); in globalChaining()
138 for (TMapIterator it = pointArray.begin(); it != it_map_end; ++it) in globalChaining()
195 TMultiMap pointArray, test; //sorted by x-coodinate in globalChaining() local
201pointArray.insert(std::make_pair(leftDim0(*it), Pair<bool, TChainElement*>(true, pElement))); in globalChaining()
207 pointArray.insert(std::make_pair(it->first, it->second)); in globalChaining()
210 TMapIterator it_map_end = pointArray.end(); in globalChaining()
211 for (TMapIterator it = pointArray.begin(); it != it_map_end; ++it) in globalChaining()
/dports/x11-toolkits/swt/swt-4.20/org/eclipse/swt/graphics/
H A DTransform.java354 public void transform(float[] pointArray) { in transform() argument
355 if (pointArray == null) SWT.error(SWT.ERROR_NULL_ARGUMENT); in transform()
356 int length = pointArray.length; in transform()
358 float x = pointArray[i]; in transform()
359 float y = pointArray[i+1]; in transform()
360 pointArray[i] = (float)(x * m11 + y * m21 + dx); in transform()
361 pointArray[i+1] = (float)(x * m12 + y * m22 + dy); in transform()
H A DGC.java413 int[] pointArray = new int[8]; in convertRgn() local
420 pointArray[0] = (int)x[0]; in convertRgn()
421 pointArray[1] = (int)y[0]; in convertRgn()
425 pointArray[2] = (int)Math.round(x[0]); in convertRgn()
426 pointArray[3] = (int)y[0]; in convertRgn()
430 pointArray[4] = (int)Math.round(x[0]); in convertRgn()
435 pointArray[6] = (int)x[0]; in convertRgn()
437 …long polyRgn = Region.gdk_region_polygon(pointArray, pointArray.length / 2, GDK.GDK_EVEN_ODD_RULE); in convertRgn()
1127 int count = pointArray.length / 2; in drawPolyline()
1130 Cairo.cairo_move_to(cairo, pointArray[0] + xOffset, pointArray[1] + yOffset); in drawPolyline()
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/
H A DPath.java646 float[] pointArray = new float[count * 6]; in getPathData() local
656 pointArray[pointCount++] = (float)pt.x; in getPathData()
657 pointArray[pointCount++] = (float)pt.y; in getPathData()
662 pointArray[pointCount++] = (float)pt.x; in getPathData()
663 pointArray[pointCount++] = (float)pt.y; in getPathData()
668 pointArray[pointCount++] = (float)pt.x; in getPathData()
669 pointArray[pointCount++] = (float)pt.y; in getPathData()
671 pointArray[pointCount++] = (float)pt.x; in getPathData()
683 if (pointCount != pointArray.length) { in getPathData()
686 pointArray = temp; in getPathData()
[all …]
H A DTransform.java438 public void transform(float[] pointArray) { in transform() argument
440 if (pointArray == null) SWT.error(SWT.ERROR_NULL_ARGUMENT); in transform()
445 int length = pointArray.length / 2; in transform()
447 point.x = pointArray[j]; in transform()
448 point.y = pointArray[j + 1]; in transform()
450 pointArray[j] = (float)point.x; in transform()
451 pointArray[j + 1] = (float)point.y; in transform()
/dports/devel/tokamak/tokamak_release/tokamaksrc/src/
H A Drigidbodybase.cpp393 neConstraintPointArray & pointArray = GetRBCData().GetCPointArray(); in DrawCPointLine()
395 for (s32 i = 0; i < pointArray.GetUsedCount(); i++) in DrawCPointLine()
397 for (s32 j = i + 1; j < pointArray.GetUsedCount(); j++) in DrawCPointLine()
405 points[0] = *pointArray[i].GetPtResult(this); in DrawCPointLine()
406 points[1] = *pointArray[j].GetPtResult(this); in DrawCPointLine()
415 for (i = 0; i < pointArray.GetUsedCount(); i++) in DrawCPointLine()
420 points[0] = *pointArray[i].GetPtResult(this); in DrawCPointLine()
/dports/www/dillo2/dillo-3.0.5/dw/
H A Dtypes.cc144 Point *pointArray = (Point *)malloc(points->size()*sizeof(struct Point)); in draw() local
147 pointArray[i].x = x + points->getRef(i)->x; in draw()
148 pointArray[i].y = y + points->getRef(i)->y; in draw()
151 filled, convex, pointArray, i); in draw()
152 free(pointArray); in draw()
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/common/tvrender/
H A Dtstrokeutil.cpp142 void detectEdges(const std::vector<TPointD> &pointArray, in detectEdges() argument
146 int size = pointArray.size(); in detectEdges()
173 TPointD point(pointArray[nodeCount]); in detectEdges()
177 TPointD left = pointArray[leftCount]; in detectEdges()
187 TPointD right = pointArray[rightCount]; in detectEdges()
217 TPointD point(pointArray[nodeCount]); in detectEdges()
221 TPointD left = pointArray[leftCount]; in detectEdges()
233 TPointD right = pointArray[rightCount]; in detectEdges()
/dports/math/vtk9/VTK-9.1.0/Filters/General/Testing/Cxx/
H A DBoxClipTetrahedra.cxx172 VTK_CREATE(vtkDoubleArray, pointArray); in MakeTetrahedron()
173 pointArray->SetArray(tetrahedraPoints, 4 * 3, 1); in MakeTetrahedron()
174 pointArray->SetNumberOfComponents(3); in MakeTetrahedron()
175 pointArray->SetNumberOfTuples(4); in MakeTetrahedron()
178 points->SetData(pointArray); in MakeTetrahedron()
/dports/math/vtk8/VTK-8.2.0/Filters/General/Testing/Cxx/
H A DBoxClipTetrahedra.cxx161 VTK_CREATE(vtkDoubleArray, pointArray); in MakeTetrahedron()
162 pointArray->SetArray(tetrahedraPoints, 4*3, 1); in MakeTetrahedron()
163 pointArray->SetNumberOfComponents(3); in MakeTetrahedron()
164 pointArray->SetNumberOfTuples(4); in MakeTetrahedron()
167 points->SetData(pointArray); in MakeTetrahedron()
/dports/math/vtk6/VTK-6.2.0/Filters/General/Testing/Cxx/
H A DBoxClipTetrahedra.cxx160 VTK_CREATE(vtkDoubleArray, pointArray); in MakeTetrahedron()
161 pointArray->SetArray(tetrahedraPoints, 4*3, 1); in MakeTetrahedron()
162 pointArray->SetNumberOfComponents(3); in MakeTetrahedron()
163 pointArray->SetNumberOfTuples(4); in MakeTetrahedron()
166 points->SetData(pointArray); in MakeTetrahedron()
/dports/math/vtk9/VTK-9.1.0/Filters/Core/Testing/Cxx/
H A DTestCategoricalPointDataToCellData.cxx70 vtkSmartPointer<vtkPoints> pointArray = vtkSmartPointer<vtkPoints>::New(); in TestCategoricalPointDataToCellData() local
74 pointLocator->InitPointInsertion(pointArray, bounds); in TestCategoricalPointDataToCellData()
127 unstructuredGrid->SetPoints(pointArray); in TestCategoricalPointDataToCellData()
/dports/math/vtk8/VTK-8.2.0/Filters/Core/Testing/Cxx/
H A DTestCategoricalPointDataToCellData.cxx75 vtkSmartPointer<vtkPoints> pointArray = in TestCategoricalPointDataToCellData() local
81 pointLocator->InitPointInsertion(pointArray,bounds); in TestCategoricalPointDataToCellData()
135 unstructuredGrid->SetPoints(pointArray); in TestCategoricalPointDataToCellData()
/dports/databases/postgis32/postgis-3.2.0/postgis/
H A Dlwgeom_rtree.c218 RTreeCreate(POINTARRAY* pointArray) in RTreeCreate() argument
221 RTREE_NODE** nodes = lwalloc(pointArray->npoints * sizeof(RTREE_NODE*)); in RTreeCreate()
225 POSTGIS_DEBUGF(2, "RTreeCreate called with pointarray %p", pointArray); in RTreeCreate()
227 nodeCount = pointArray->npoints - 1; in RTreeCreate()
236 nodes[i] = RTreeCreateLeafNode(pointArray, i); in RTreeCreate()
/dports/databases/postgis31/postgis-3.1.4/postgis/
H A Dlwgeom_rtree.c218 RTreeCreate(POINTARRAY* pointArray) in RTreeCreate() argument
221 RTREE_NODE** nodes = lwalloc(pointArray->npoints * sizeof(RTREE_NODE*)); in RTreeCreate()
225 POSTGIS_DEBUGF(2, "RTreeCreate called with pointarray %p", pointArray); in RTreeCreate()
227 nodeCount = pointArray->npoints - 1; in RTreeCreate()
236 nodes[i] = RTreeCreateLeafNode(pointArray, i); in RTreeCreate()
/dports/databases/postgis30/postgis-3.0.4/postgis/
H A Dlwgeom_rtree.c218 RTreeCreate(POINTARRAY* pointArray) in RTreeCreate() argument
221 RTREE_NODE** nodes = lwalloc(pointArray->npoints * sizeof(RTREE_NODE*)); in RTreeCreate()
225 POSTGIS_DEBUGF(2, "RTreeCreate called with pointarray %p", pointArray); in RTreeCreate()
227 nodeCount = pointArray->npoints - 1; in RTreeCreate()
236 nodes[i] = RTreeCreateLeafNode(pointArray, i); in RTreeCreate()
/dports/databases/postgis25/postgis-2.5.5/postgis/
H A Dlwgeom_rtree.c218 RTreeCreate(POINTARRAY* pointArray) in RTreeCreate() argument
221 RTREE_NODE** nodes = lwalloc(pointArray->npoints * sizeof(RTREE_NODE*)); in RTreeCreate()
225 POSTGIS_DEBUGF(2, "RTreeCreate called with pointarray %p", pointArray); in RTreeCreate()
227 nodeCount = pointArray->npoints - 1; in RTreeCreate()
236 nodes[i] = RTreeCreateLeafNode(pointArray, i); in RTreeCreate()
/dports/graphics/alembic/alembic-1.8.3/maya/AbcImport/
H A DMeshHelper.cpp916 MFloatPointArray pointArray; in readPoly() local
932 fillPoints(pointArray, points, ceilPoints, alpha); in readPoly()
933 if(pointArray.length() > 0) in readPoly()
935 ioMesh.setPoints(pointArray, MSpace::kObject); in readPoly()
959 fillPoints(pointArray, samp.getPositions(), ceilPoints, alpha); in readPoly()
961 fillTopology(ioMesh, iParent, pointArray, samp.getFaceIndices(), in readPoly()
979 MFloatPointArray pointArray; in readSubD() local
995 fillPoints(pointArray, points, ceilPoints, alpha); in readSubD()
996 ioMesh.setPoints(pointArray, MSpace::kObject); in readSubD()
1126 MFloatPointArray pointArray; in createSubD() local
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/
H A DGC.java406 int[] pointArray = new int[8]; in convertRgn() local
413 pointArray[0] = (int)x[0]; in convertRgn()
414 pointArray[1] = (int)y[0]; in convertRgn()
418 pointArray[2] = (int)Math.round(x[0]); in convertRgn()
419 pointArray[3] = (int)y[0]; in convertRgn()
423 pointArray[4] = (int)Math.round(x[0]); in convertRgn()
428 pointArray[6] = (int)x[0]; in convertRgn()
430 …long polyRgn = Region.gdk_region_polygon(pointArray, pointArray.length / 2, GDK.GDK_EVEN_ODD_RULE); in convertRgn()
1117 int count = pointArray.length / 2; in drawPolyline()
1120 Cairo.cairo_move_to(cairo, pointArray[0] + xOffset, pointArray[1] + yOffset); in drawPolyline()
[all …]
/dports/graphics/pear-Image_3D/Image_3D-0.4.2/Image/3D/Driver/
H A DASCII.php148 protected function _getPolygonOutlines($pointArray) argument
152 $last = end($pointArray);
153 foreach ($pointArray as $point) {
/dports/devel/shiboken2/pyside-setup-opensource-src-5.15.2/sources/shiboken2/tests/libsample/
H A Dmodifications.cpp110 Modifications::sumPointArray(int arraySize, const Point pointArray[]) in sumPointArray() argument
114 point = point + pointArray[i]; in sumPointArray()

1234567