FindFaceWithRay method


Your Ad Here


Topsolid online Help Index

Created : v6.5

 

IRefFace = IShape.FindFaceWithRay(Ox, Oy, Oz, Dx, Dy, Dz, Ix, Iy, Iz)

Description

This method find the first face intersected with a ray.

Parameters

IN:

 

Double Ox

X coordinate of ray origin.

IN:

 

Double Oy

Y coordinate of ray origin.

 

IN:

 

Double Oz

Z coordinate of ray origin.

 

IN:

 

Double Dx

X coordinate of ray direction.

 

IN:

 

Double Dy

Y coordinate of ray direction.

 

IN:

 

Double Dz

Z coordinate of ray direction.

 

OUT:

 

Double Ix

X coordinate of intersection.

 

OUT:

 

Double Iy

Y coordinate of intersection.

OUT:

Double Iz

Z coordinate of intersection.

 

RET:

IRefFace

Reference to intersected face, or Nothing if none.

 

 

 

Topsolid online Help Index

Your Ad Here