33 references to M3DUtil
PresentationCore (33)
MS\Internal\Media3D\GeneralTransform2DTo3DTo2D.cs (5)
146_worldTransformation = M3DUtil.GetWorldTransformationMatrix(visual3D); 569if (M3DUtil.IsPointInTriangle(visEdgeStart, uv, p, out outputPoint)) 575if (M3DUtil.IsPointInTriangle(visEdgeEnd, uv, p, out outputPoint)) 585if (M3DUtil.IsPointInTriangle(visEdgeStart, uv, p, out outputPoint1) && 586M3DUtil.IsPointInTriangle(visEdgeEnd, uv, p, out outputPoint2))
MS\Internal\Media3D\M3DUtil.cs (3)
102M3DUtil.AddPointToBounds(ref p, ref newBounds); 391camera.GetProjectionMatrix(M3DUtil.GetAspectRatio(viewport.Size)) * 392M3DUtil.GetHomogeneousToViewportTransform3D(viewport);
System\Windows\Media3D\MatrixCamera.cs (1)
92Point np = M3DUtil.GetNormalizedPoint(p, viewSize);
System\Windows\Media3D\MeshGeometry3D.cs (3)
459Point3D pointHit = M3DUtil.Interpolate(ref v0, ref v1, ref v2, ref barycentric); 539_cachedBounds = M3DUtil.ComputeAxisAlignedBoundingBox(Positions); 565Rect3D actualBounds = M3DUtil.ComputeAxisAlignedBoundingBox(Positions);
System\Windows\Media3D\Model3D.cs (1)
109return M3DUtil.ComputeTransformedAxisAlignedBoundingBox(ref innerBounds, Transform);
System\Windows\Media3D\OrthographicCamera.cs (3)
98Point np = M3DUtil.GetNormalizedPoint(p, viewSize); 100double aspectRatio = M3DUtil.GetAspectRatio(viewSize); 124M3DUtil.ComputeTransformedAxisAlignedBoundingBox(
System\Windows\Media3D\PerspectiveCamera.cs (4)
73double fov = M3DUtil.DegreesToRadians(FieldOfView); 113double fov = M3DUtil.DegreesToRadians(FieldOfView); 121Point np = M3DUtil.GetNormalizedPoint(p, viewSize); 131double aspectRatio = M3DUtil.GetAspectRatio(viewSize);
System\Windows\Media3D\Transform3D.cs (1)
131return M3DUtil.ComputeTransformedAxisAlignedBoundingBox(ref rect, this);
System\Windows\Media3D\Vector3D.cs (1)
179return M3DUtil.RadiansToDegrees(theta);
System\Windows\Media3D\Viewport2DVisual3D.cs (2)
95if (M3DUtil.IsPointInTriangle(point, uv, p, out point3D)) 136if (M3DUtil.IsPointInTriangle(point, uv, p, out point3D))
System\Windows\Media3D\Viewport3DVisual.cs (4)
520double aspectRatio = M3DUtil.GetAspectRatio(Viewport.Size); 529point2D *= M3DUtil.GetHomogeneousToViewportTransform(Viewport); 589double aspectRatio = M3DUtil.GetAspectRatio(viewport.Size); 592Matrix homoToLocal = M3DUtil.GetHomogeneousToViewportTransform(viewport);
System\Windows\Media3D\Visual3D.cs (5)
873return M3DUtil.ComputeTransformedAxisAlignedBoundingBox(ref bounds, Transform); 1080Rect3D cachedBounds = M3DUtil.ComputeTransformedAxisAlignedBoundingBox(ref _bboxSubgraph, Transform); 1109return M3DUtil.ComputeTransformedAxisAlignedBoundingBox(ref currentSubgraphBounds, Transform); 1141bboxSubgraph = M3DUtil.ComputeTransformedAxisAlignedBoundingBox(ref _bboxSubgraph, Transform); 1814if (!M3DUtil.TryTransformToViewport3DVisual(this, out containingViewport, out projectionTransform))