Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_GeoExporter Interface Reference
Inheritance diagram for SCR_GeoExporter:
SCR_GeoJSONExporter SCR_GeoSVGExporter

Public Member Functions

void SCR_GeoExporter (string path, int xShift, int yShift)
 
bool Init ()
 
void Close ()
 
string GetPath ()
 
void BeginExport ()
 
void FeatureExport (string name, GeoShapeType shapeType, array< ref SCR_GeoPointData > points, array< ref SCR_GeoProperty > props)
 
void EndExport ()
 

Static Public Attributes

static const string ROAD_GENERATOR_ENTITY = "RoadGeneratorEntity"
 
static const string PREFAB_GENERATOR_ENTITY = "PrefabGeneratorEntity"
 
static const string POLYLINE_SHAPE_ENTITY = "PolylineShapeEntity"
 
static const string SPLINE_SHAPE_ENTITY = "SplineShapeEntity"
 
static const string IS_CLOSED_PROPERTY = "IsClosed"
 
static const string LINE_COLOR_PROPERTY = "LineColor"
 
static const string ROAD_WIDTH_PROPERTY = "RoadWidth"
 

Protected Member Functions

void Export (string line)
 

Protected Attributes

string m_sOutput
 
float m_fXShift
 
float m_fYShift
 
ref FileHandle m_File
 

Constructor & Destructor Documentation

◆ SCR_GeoExporter()

void SCR_GeoExporter.SCR_GeoExporter ( string path,
int xShift,
int yShift )

Member Function Documentation

◆ BeginExport()

void SCR_GeoExporter.BeginExport ( )

◆ Close()

void SCR_GeoExporter.Close ( )

◆ EndExport()

void SCR_GeoExporter.EndExport ( )

◆ Export()

void SCR_GeoExporter.Export ( string line)
protected

◆ FeatureExport()

void SCR_GeoExporter.FeatureExport ( string name,
GeoShapeType shapeType,
array< ref SCR_GeoPointData > points,
array< ref SCR_GeoProperty > props )
Parameters
[in]name
[in]shapeType
[in]points
[in]props

Implemented in SCR_GeoJSONExporter, and SCR_GeoSVGExporter.

◆ GetPath()

string SCR_GeoExporter.GetPath ( )
Returns

◆ Init()

bool SCR_GeoExporter.Init ( )
Returns
true on file opening success, false otherwise

Member Data Documentation

◆ IS_CLOSED_PROPERTY

const string SCR_GeoExporter.IS_CLOSED_PROPERTY = "IsClosed"
static

◆ LINE_COLOR_PROPERTY

const string SCR_GeoExporter.LINE_COLOR_PROPERTY = "LineColor"
static

◆ m_File

ref FileHandle SCR_GeoExporter.m_File
protected

◆ m_fXShift

float SCR_GeoExporter.m_fXShift
protected

◆ m_fYShift

float SCR_GeoExporter.m_fYShift
protected

◆ m_sOutput

string SCR_GeoExporter.m_sOutput
protected

◆ POLYLINE_SHAPE_ENTITY

const string SCR_GeoExporter.POLYLINE_SHAPE_ENTITY = "PolylineShapeEntity"
static

◆ PREFAB_GENERATOR_ENTITY

const string SCR_GeoExporter.PREFAB_GENERATOR_ENTITY = "PrefabGeneratorEntity"
static

◆ ROAD_GENERATOR_ENTITY

const string SCR_GeoExporter.ROAD_GENERATOR_ENTITY = "RoadGeneratorEntity"
static

◆ ROAD_WIDTH_PROPERTY

const string SCR_GeoExporter.ROAD_WIDTH_PROPERTY = "RoadWidth"
static

◆ SPLINE_SHAPE_ENTITY

const string SCR_GeoExporter.SPLINE_SHAPE_ENTITY = "SplineShapeEntity"
static

The documentation for this interface was generated from the following file: