The outage for Sunday 24th November has been cancelled.
Bioplib
Protein Structure C Library
 All Data Structures Files Functions Variables Typedefs Macros Pages
Functions
DistPtLine.c File Reference

General maths/stats/vector functions. More...

#include <math.h>
#include "MathType.h"
#include "MathUtil.h"

Go to the source code of this file.

Functions

REAL blDistPtLine (VEC3F Point, VEC3F End1, VEC3F End2)
 

Detailed Description

General maths/stats/vector functions.

Version
V1.5
Date
20.07.15
Author
Dr. Andrew C. R. Martin
Institute of Structural & Molecular Biology, University College London, Gower Street, London. WC1E 6BT.
andre.nosp@m.w@bi.nosp@m.oinf..nosp@m.org..nosp@m.uk andre.nosp@m.w.ma.nosp@m.rtin@.nosp@m.ucl..nosp@m.ac.uk

This code is NOT IN THE PUBLIC DOMAIN, but it may be copied according to the conditions laid out in the accompanying file COPYING.DOC.

The code may be modified as required, but any modifications must be documented so that the person responsible can be identified.

The code may not be sold commercially or included as part of a commercial product except as described in the file COPYING.DOC.

Description:

Usage:

Revision History:

Definition in file DistPtLine.c.

Function Documentation

REAL blDistPtLine ( VEC3F  Point,
VEC3F  End1,
VEC3F  End2 
)
Parameters
[in]PointThe coordinates of a point
[in]End1Coordinates of one end of vector
[in]End2Coordinates of other end of vector
Returns
The distance from pt to line

Calculate the distance from a point to a line described by two vector end points

  • 18.06.96 Original By: ACRM
  • 07.07.14 Use bl prefix for functions By: CTP
  • 20.07.15 Renamed from blDistPtVect() By: ACRM

Definition at line 100 of file DistPtLine.c.