Cesium for Unreal 2.18.0
Loading...
Searching...
No Matches
UCesiumGeoJsonObjectBlueprintLibrary Class Reference

A Blueprint Funciton Library for interacting with FCesiumVectorNode values. More...

#include <CesiumGeoJsonObject.h>

Inheritance diagram for UCesiumGeoJsonObjectBlueprintLibrary:

Static Public Member Functions

static bool IsValid (const FCesiumGeoJsonObject &InObject)
 Checks if the provided GeoJSON object is valid.
 
static ECesiumGeoJsonObjectType GetObjectType (const FCesiumGeoJsonObject &InObject)
 Returns the ECesiumGeoJsonObjectType of the GeoJSON value this object represents.
 
static FBox GetBoundingBox (const FCesiumGeoJsonObject &InObject, EHasValue &Branches)
 Attempts to obtain this GeoJSON object's bounding box.
 
static FJsonObjectWrapper GetForeignMembers (const FCesiumGeoJsonObject &InObject)
 Obtains any foreign members on this GeoJSON object.
 
static FVector GetObjectAsPoint (const FCesiumGeoJsonObject &InObject)
 If this object is a GeoJSON Point type, this returns the coordinates of that Point.
 
static TArray< FVector > GetObjectAsMultiPoint (const FCesiumGeoJsonObject &InObject)
 If this object is a GeoJSON MultiPoint type, this returns the array of coordinates on that MultiPoint object.
 
static FCesiumGeoJsonLineString GetObjectAsLineString (const FCesiumGeoJsonObject &InObject)
 If this object is a GeoJSON LineString type, this returns a FCesiumGeoJsonLineString representing that line.
 
static TArray< FCesiumGeoJsonLineStringGetObjectAsMultiLineString (const FCesiumGeoJsonObject &InObject)
 If this object is a GeoJSON MultiLineString type, this returns an array of FCesiumGeoJsonLineString objects representing the lines.
 
static FCesiumGeoJsonPolygon GetObjectAsPolygon (const FCesiumGeoJsonObject &InObject)
 If this object is a GeoJSON Polygon type, this returns a FCesiumGeoJsonPolygon representing that line.
 
static TArray< FCesiumGeoJsonPolygonGetObjectAsMultiPolygon (const FCesiumGeoJsonObject &InObject)
 If this object is a GeoJSON MultiPolygon type, this returns an array of FCesiumGeoJsonPolygon objects representing the polygons.
 
static TArray< FCesiumGeoJsonObjectGetObjectAsGeometryCollection (const FCesiumGeoJsonObject &InObject)
 If this object is a GeoJSON GeometryCollection type, this returns an array of FCesiumGeoJsonObject objects representing the objects.
 
static FCesiumGeoJsonFeature GetObjectAsFeature (const FCesiumGeoJsonObject &InObject)
 If this object is a GeoJSON Feature type, this returns a FCesiumGeoJsonFeature representing that feature.
 
static TArray< FCesiumGeoJsonFeatureGetObjectAsFeatureCollection (const FCesiumGeoJsonObject &InObject)
 If this object is a GeoJSON FeatureCollection type, this returns an array of FCesiumGeoJsonFeature objects representing the features.
 
static FCesiumVectorStyle GetStyle (const FCesiumGeoJsonObject &InObject, EHasValue &Branches)
 Returns the FCesiumVectorStyle attached to this object, if any.
 
static void SetStyle (UPARAM(Ref) FCesiumGeoJsonObject &InObject, const FCesiumVectorStyle &InStyle)
 Sets the style of the given FCesiumGeoJsonObject.
 
static void ClearStyle (UPARAM(Ref) FCesiumGeoJsonObject &InObject)
 Removes any existing style on the given GeoJSON object.
 

Detailed Description

A Blueprint Funciton Library for interacting with FCesiumVectorNode values.

Definition at line 265 of file CesiumGeoJsonObject.h.

Member Function Documentation

◆ ClearStyle()

static void UCesiumGeoJsonObjectBlueprintLibrary::ClearStyle ( UPARAM(Ref) FCesiumGeoJsonObject & InObject)
static

Removes any existing style on the given GeoJSON object.

GeoJSON objects without a style specified will inherit their style from their parent object, or that parent's parent, and so on up the tree. If no styles are found anywhere in the ancestors of this object, the default style will be used.

◆ GetBoundingBox()

static FBox UCesiumGeoJsonObjectBlueprintLibrary::GetBoundingBox ( const FCesiumGeoJsonObject & InObject,
EHasValue & Branches )
static

Attempts to obtain this GeoJSON object's bounding box.

If the No Value branch is called, the object has no bounding box.

◆ GetForeignMembers()

static FJsonObjectWrapper UCesiumGeoJsonObjectBlueprintLibrary::GetForeignMembers ( const FCesiumGeoJsonObject & InObject)
static

Obtains any foreign members on this GeoJSON object.

Foreign members are members found in the loaded GeoJSON document that are not part of the specification for this GeoJSON object type.

◆ GetObjectAsFeature()

static FCesiumGeoJsonFeature UCesiumGeoJsonObjectBlueprintLibrary::GetObjectAsFeature ( const FCesiumGeoJsonObject & InObject)
static

If this object is a GeoJSON Feature type, this returns a FCesiumGeoJsonFeature representing that feature.

Otherwise, an invalid FCesiumGeoJsonFeature is returned.

◆ GetObjectAsFeatureCollection()

static TArray< FCesiumGeoJsonFeature > UCesiumGeoJsonObjectBlueprintLibrary::GetObjectAsFeatureCollection ( const FCesiumGeoJsonObject & InObject)
static

If this object is a GeoJSON FeatureCollection type, this returns an array of FCesiumGeoJsonFeature objects representing the features.

Otherwise, an empty array is returned.

◆ GetObjectAsGeometryCollection()

static TArray< FCesiumGeoJsonObject > UCesiumGeoJsonObjectBlueprintLibrary::GetObjectAsGeometryCollection ( const FCesiumGeoJsonObject & InObject)
static

If this object is a GeoJSON GeometryCollection type, this returns an array of FCesiumGeoJsonObject objects representing the objects.

Otherwise, an empty array is returned.

◆ GetObjectAsLineString()

static FCesiumGeoJsonLineString UCesiumGeoJsonObjectBlueprintLibrary::GetObjectAsLineString ( const FCesiumGeoJsonObject & InObject)
static

If this object is a GeoJSON LineString type, this returns a FCesiumGeoJsonLineString representing that line.

Otherwise, a FCesiumGeoJsonLineString without any points is returned.

◆ GetObjectAsMultiLineString()

static TArray< FCesiumGeoJsonLineString > UCesiumGeoJsonObjectBlueprintLibrary::GetObjectAsMultiLineString ( const FCesiumGeoJsonObject & InObject)
static

If this object is a GeoJSON MultiLineString type, this returns an array of FCesiumGeoJsonLineString objects representing the lines.

Otherwise, an empty array is returned.

◆ GetObjectAsMultiPoint()

static TArray< FVector > UCesiumGeoJsonObjectBlueprintLibrary::GetObjectAsMultiPoint ( const FCesiumGeoJsonObject & InObject)
static

If this object is a GeoJSON MultiPoint type, this returns the array of coordinates on that MultiPoint object.

Otherwise, an empty array is returned.

◆ GetObjectAsMultiPolygon()

static TArray< FCesiumGeoJsonPolygon > UCesiumGeoJsonObjectBlueprintLibrary::GetObjectAsMultiPolygon ( const FCesiumGeoJsonObject & InObject)
static

If this object is a GeoJSON MultiPolygon type, this returns an array of FCesiumGeoJsonPolygon objects representing the polygons.

Otherwise, an empty array is returned.

◆ GetObjectAsPoint()

static FVector UCesiumGeoJsonObjectBlueprintLibrary::GetObjectAsPoint ( const FCesiumGeoJsonObject & InObject)
static

If this object is a GeoJSON Point type, this returns the coordinates of that Point.

Otherwise, a zero vector is returned.

◆ GetObjectAsPolygon()

static FCesiumGeoJsonPolygon UCesiumGeoJsonObjectBlueprintLibrary::GetObjectAsPolygon ( const FCesiumGeoJsonObject & InObject)
static

If this object is a GeoJSON Polygon type, this returns a FCesiumGeoJsonPolygon representing that line.

Otherwise, a FCesiumGeoJsonPolygon without any points is returned.

◆ GetObjectType()

static ECesiumGeoJsonObjectType UCesiumGeoJsonObjectBlueprintLibrary::GetObjectType ( const FCesiumGeoJsonObject & InObject)
static

Returns the ECesiumGeoJsonObjectType of the GeoJSON value this object represents.

◆ GetStyle()

static FCesiumVectorStyle UCesiumGeoJsonObjectBlueprintLibrary::GetStyle ( const FCesiumGeoJsonObject & InObject,
EHasValue & Branches )
static

Returns the FCesiumVectorStyle attached to this object, if any.

If there is no style attached to this object, the No Value branch is taken.

◆ IsValid()

static bool UCesiumGeoJsonObjectBlueprintLibrary::IsValid ( const FCesiumGeoJsonObject & InObject)
static

Checks if the provided GeoJSON object is valid.

Any operations performed with an invalid object will likely give incorrect results.

◆ SetStyle()

static void UCesiumGeoJsonObjectBlueprintLibrary::SetStyle ( UPARAM(Ref) FCesiumGeoJsonObject & InObject,
const FCesiumVectorStyle & InStyle )
static

Sets the style of the given FCesiumGeoJsonObject.


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