CARLA
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
UGeometryImporter Class Reference

#include <GeometryImporter.h>

+ Inheritance diagram for UGeometryImporter:

Public Member Functions

TArray< FVector2D > ReadCSVCoordinates (FString Path, FVector2D OriginGeoCoordinates)
 

Static Public Member Functions

static USplineComponent * CreateSpline (UWorld *World, const TArray< FVector > &Points, const FString SplineName)
 
static TArray< USplineComponent * > CreateSplinesFromJson (UWorld *World, const FString &JsonFilePath, FVector2D Center, FVector2D Extent, FIntPoint RTExtent)
 
static TArray< USplineComponent * > ImportGeoJsonPolygonsToSplines (UWorld *World, const FString &GeoJsonFilePath, const FVector2D OriginGeoCoordinates)
 
static void ImportObj (const FString &ObjFilePath, UWorld *World, UMaterialInterface *Material)
 

Detailed Description

Definition at line 11 of file GeometryImporter.h.

Member Function Documentation

◆ CreateSpline()

USplineComponent * UGeometryImporter::CreateSpline ( UWorld *  World,
const TArray< FVector > &  Points,
const FString  SplineName 
)
static

Definition at line 53 of file GeometryImporter.cpp.

Referenced by CreateSplinesFromJson(), and ImportGeoJsonPolygonsToSplines().

◆ CreateSplinesFromJson()

TArray< USplineComponent * > UGeometryImporter::CreateSplinesFromJson ( UWorld *  World,
const FString &  JsonFilePath,
FVector2D  Center,
FVector2D  Extent,
FIntPoint  RTExtent 
)
static

Definition at line 195 of file GeometryImporter.cpp.

References CreateSpline().

◆ ImportGeoJsonPolygonsToSplines()

TArray< USplineComponent * > UGeometryImporter::ImportGeoJsonPolygonsToSplines ( UWorld *  World,
const FString &  GeoJsonFilePath,
const FVector2D  OriginGeoCoordinates 
)
static

◆ ImportObj()

void UGeometryImporter::ImportObj ( const FString &  ObjFilePath,
UWorld *  World,
UMaterialInterface *  Material 
)
static

Definition at line 260 of file GeometryImporter.cpp.

◆ ReadCSVCoordinates()

TArray< FVector2D > UGeometryImporter::ReadCSVCoordinates ( FString  Path,
FVector2D  OriginGeoCoordinates 
)

The documentation for this class was generated from the following files: