Back to Adaptive Vision Library website
You are here: Start » Function Reference » Interoperability » LoadEntities_FromDxf
LoadEntities_FromDxf
Loads entities from a DXF file as an array of point arrays.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::LoadEntities_FromDxf ( const atl::File& inDxfFile, const float inScale, const atl::Optional<atl::Array<atl::String> >& inLayersToDraw, avl::Point2D& outOrigin, atl::Array<atl::Array<avl::Point2D> >& outEntities, atl::Array<atl::String>& diagFileLayersNames )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inDxfFile | const File& | ||||
inScale | const float | 0.0 - | 10.0f | Scale (pixels per millimeter) | |
inLayersToDraw | const Optional<Array<String> >& | NIL | Names of layers to draw. Names of all layers are available at the 'diagFileLayersNames' output | ||
outOrigin | Point2D& | Location of the origin from DXF on 'outImage' | |||
outEntities | Array<Array<Point2D> >& | ||||
diagFileLayersNames | Array<String>& | Names of all layers in DXF file |