![]() |
http://www.coin3d.org/ http://www.kongsberg.com/kogt/ |
The dxfLineSegment class handles lines with width and/or height. This class support several connected line segments. The line segments will then be converted to a continous mesh, without cracks, as specified in the DXF specification. More...
#include <linesegment.h>
Public Member Functions | |
void | set (const dimeVec3f &p0, const dimeVec3f &p1, const dxfdouble startWidth, const dxfdouble endwidth, const dxfdouble thickness) |
void | convert (dxfLineSegment *prev, dxfLineSegment *next, dxfLayerData *data, dimeMatrix *matrix) |
The dxfLineSegment class handles lines with width and/or height. This class support several connected line segments. The line segments will then be converted to a continous mesh, without cracks, as specified in the DXF specification.
void dxfLineSegment::convert | ( | dxfLineSegment * | prev, |
dxfLineSegment * | next, | ||
dxfLayerData * | layerData, | ||
dimeMatrix * | matrix | ||
) |
Converts the line segment to geometry, and puts the geometry into layerData.
References dxfLayerData::addLine(), and dxfLayerData::addQuad().
void dxfLineSegment::set | ( | const dimeVec3f & | p0, |
const dimeVec3f & | p1, | ||
const dxfdouble | startwidth, | ||
const dxfdouble | endwidth, | ||
const dxfdouble | thickness | ||
) |
Sets the data for this line segment. startwidth is the width at p0, endwidth is the width at p1. thickness is the height of the line segment.
Copyright © by Kongsberg Oil & Gas Technologies. All rights reserved.
Generated on Thu Jan 14 2016 09:23:20 for Dime by Doxygen 1.8.11.