CGBaryCentric3Pts

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

NAME

CGBaryCentric3Pts()  

SYNOPSIS

geom_lib/geomat3d.c:1330

RealType *CGBaryCentric3Pts(PointType Pt1,
                            PointType Pt2,
                            PointType Pt3,
                            PointType Pt)
 

DESCRIPTION

Computes the Barycentric coordinates of given point Pt with respect to given Trainagle Pt1 Pt2 Pt3. All points are assumed to be coplanar.  

PARAMETERS:

Pt1, Pt2, Pt3: Three points forming a triangular in general position.

Pt: A point for which the barycentric coordinates are to be computed.  

FUNCTION RETURN VALUE

RealType *: A pointers to a static space holding the three Barycentric coefficients, or NULL if point Pt is outside the triangle Pt1 Pt2 Pt3.

 

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:35 GMT, July 20, 2024