CGPointFromLinePlane

Section: C Library Functions (3)
Updated: IRIT Version 6.0
Index Return to Main Contents
 

NAME

CGPointFromLinePlane()  

SYNOPSIS

geom_lib/geomat3d.c:727

int CGPointFromLinePlane(PointType Pl,
                         PointType Vl,
                         PlaneType Plane,
                         PointType InterPoint,
                         RealType *t)
 

DESCRIPTION

Routine to find the intersection point of a line and a plane (if any). The Plane is prescribed using four coefficients : Ax + By + Cz + D = 0 given as four elements vector. The line is define via a point on it Pl and a direction vector Vl. Returns TRUE only if such point exists.  

PARAMETERS:

Pl, Vl: Position and direction that defines the line.

Plane: To find the intersection with the line.

InterPoint: Where the intersection occured.

t: Parameter along the line of the intersection location (as Pl + Vl * t).  

FUNCTION RETURN VALUE

int: TRUE, if successful.

 

ORIGIN

(C) Copyright 1989/90-95 Gershon Elber, Technion, IIT


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS:
FUNCTION RETURN VALUE
ORIGIN

This document was created by man2html, using the manual pages.
Time: 07:27:25 GMT, July 20, 2024