Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::math::vector::lineseg_tag Structure
C++
typedef struct lineseg_tag * PLINESEG;
struct lineseg_tag {
  RAY r;
  RCOORD dFrom, dTo;
};
Members 
Description 
RAY r; 
a ray type that is the origin and slope of the line. 
RCOORD dFrom; 
scalar along direction vector that indicates where the line segment ends. (origin + (direction * dTo) ) = end scalar along direction vector that indicates where the line segment ends. (origin + (direction * dTo) ) = start 
RCOORD dTo; 
scalar along direction vector that indicates where the line segment ends. (origin + (direction * dTo) ) = end scalar along direction vector that indicates where the line segment ends. (origin + (direction * dTo) ) = start 

This is a pure abstraction of a Line. It is used in the basis of 3d graphics.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!