public RectangleMeshGeometryHitTestResult(RectangleHitTestResultTreeLeaf hitTreeLeaf, DependencyObject objectHit, MeshGeometry3D meshHit, double distanceToRectangleCenter, Point barycentricHit, int[] triangleIndices) : base(hitTreeLeaf, objectHit, distanceToRectangleCenter) { this.meshHit = meshHit; this.vertexWeight2 = barycentricHit.X; this.vertexWeight3 = barycentricHit.Y; this.vertexIndex1 = triangleIndices[0]; this.vertexIndex2 = triangleIndices[1]; this.vertexIndex3 = triangleIndices[2]; }
public void AddLeaf(RectangleHitTestResultTreeLeaf leaf) { this.leaves.Add(leaf); }
public RectangleHitTestResult(RectangleHitTestResultTreeLeaf hitTreeLeaf, DependencyObject objectHit, double distanceToRectangleCenter) { this.hitTreeLeaf = hitTreeLeaf; this.objectHit = objectHit; this.distanceToRectangleCenter = distanceToRectangleCenter; }