Beispiel #1
0
        public Vector3 Project(ref Vector3 point)
        {
            Vector3 result;

            Geom3D.Project(ref this, ref point, out result);
            return(result);
        }
Beispiel #2
0
		public bool Raycast(ref Ray3D ray, out Vector3 point)
		{
			float dist;
			if (Geom3D.Raycast(ref this, ref ray, out dist))
			{
				point = ray.GetPoint(dist);
				return true;
			}
			point = ray.Point;
			return false;
		}
Beispiel #3
0
 public bool Raycast(Ray3D ray, out float dist)
 {
     return(Geom3D.Raycast(ref this, ref ray, out dist));
 }
Beispiel #4
0
 public bool Intersects(BoundingSphere sphere)
 {
     return(Geom3D.Intersects(ref sphere, ref this));
 }
Beispiel #5
0
 public bool Intersects(BoundingBox box)
 {
     return(Geom3D.Intersects(ref box, ref this));
 }
Beispiel #6
0
 public void Project(ref Vector3 point, out Vector3 result)
 {
     Geom3D.Project(ref this, ref point, out result);
 }
Beispiel #7
0
 public bool Contains(Vector3 point)
 {
     return(Geom3D.Contains(ref this, ref point));
 }
Beispiel #8
0
 public bool Intersects(Plane plane)
 {
     return(Geom3D.Intersects(ref this, ref plane));
 }
Beispiel #9
0
 public bool Contains(BoundingBox box)
 {
     return(Geom3D.Contains(ref this, ref box));
 }
Beispiel #10
0
 public bool Contains(BoundingSphere sphere)
 {
     return(Geom3D.Contains(ref this, ref sphere));
 }
Beispiel #11
0
		public bool Intersects(ref BoundingSphere sphere)
		{
			return Geom3D.Intersects(ref this, ref sphere);
		}
Beispiel #12
0
		public bool Intersects(ref BoundingBox box)
		{
			return Geom3D.Intersects(ref this, ref box);
		}
Beispiel #13
0
		public float Distance(BoundingBox box)
		{
			return Geom3D.Distance(ref this, ref box);
		}
Beispiel #14
0
		public float Distance(Vector3 point)
		{
			return Geom3D.Distance(ref this, ref point);
		}
Beispiel #15
0
		public bool Contains(Vector3 p)
		{
			return Geom3D.Contains(ref this, ref p);
		}