API Reference > OdGe Classes > OdGeLineSeg3d Class
OdGeLineSeg3d Class
OdGeLineSeg3dOdGeLineSeg3dOdGeLineSeg3dOdGeLineSeg3d
Syntax
C++
class OdGeLineSeg3d : public OdGeLinearEnt3d;

GeLineSeg3d.h

This class represents line segments in 3D space. 3D line segment can be defined with a start and end points or with a point and a non-zero vector that specifies segment length and direction. By default its start parameter equals to 0.0 and end parameter equals to 1.0. 

Corresponding C++ library: TD_Ge 

 

 
Name 
Description 
 
This is the overview for the OdGeLineSeg3d constructor overload. 
 
Name 
Description 
 
Returns the weighted average of the start point and end point of this line segment.
 
 
Returns the end point of this line segment. 
 
Gets the unbounded perpendicular bisecting plane of this line segment.
 
 
Returns the distance to vector.
 
 
Attaches to the end of itself another curve. 
 
set 
This is the overview for the set method overload. 
 
Returns the start point of this line segment. 
 
Name 
Description 
 
= 
Assignment operator for the OdGeLineSeg3d object. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.