CagdEstimateCrvColinearity

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

NAME

CagdEstimateCrvColinearity()  

SYNOPSIS

cagd_lib/mshplanr.c:247

CagdRType CagdEstimateCrvColinearity(CagdCrvStruct *Crv)
 

DESCRIPTION

Tests polygonal colinearity by testing the distance of interior control points from the line connecting the two control polygon end points. Returns a relative ratio of deviation from line relative to its length. Zero means all points are colinear. If two end points are same ( no line can be fit ) INFINITY is returned.  

PARAMETERS:

Crv: To measure its colinearity.  

FUNCTION RETURN VALUE

CagdRType: Colinearity relative measure.

 

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