documentation

VLGeometry Class Reference

Data class for storing the values of different geometries for AutoInit. A VLWorkspace.Geometry can be generated from this, which can be used in the vlSDK. THIS IS SUBJECT TO CHANGE Please do not rely on this code in productive environments. More...

Inherits MonoBehaviour.

Public Member Functions

VIS.WorkSpace.Geometry CreateVLGeometry (VIS.WorkSpace.Transform trans)
 Creates a corresponding VLWorkSpace.Geometry, which can be used in the vlSDK. More...
 
void UpdateMesh ()
 Updates the stored positions of the geometry by the values taken from vlSDK. More...
 
float GetGeometrySize ()
 Calculates the biggest boundary value of the geometry More...
 

Data Fields

VLGeometryShape shape
 
float lineLength = 1f
 
int lineStep = 3
 
float planeLength = 1f
 
float planeWidth = 1f
 
int planeStep = 3
 
float sphereRadius = 1
 
float detailLevel = 0.1f
 
float phiStart = 0f
 
float phiLength = 180f
 
float thetaStart = 0f
 
float thetaLength = 360f
 
Vector3 [] currentMesh
 

Detailed Description

Data class for storing the values of different geometries for AutoInit. A VLWorkspace.Geometry can be generated from this, which can be used in the vlSDK. THIS IS SUBJECT TO CHANGE Please do not rely on this code in productive environments.

Member Function Documentation

◆ CreateVLGeometry()

VIS.WorkSpace.Geometry VLGeometry.CreateVLGeometry ( VIS.WorkSpace.Transform  trans)
inline

Creates a corresponding VLWorkSpace.Geometry, which can be used in the vlSDK.

Parameters
transTransform, which will be applied to the Geometry
Returns

◆ GetGeometrySize()

float VLGeometry.GetGeometrySize ( )
inline

Calculates the biggest boundary value of the geometry

Returns
Highest boundary size of the geometry

◆ UpdateMesh()

void VLGeometry.UpdateMesh ( )
inline

Updates the stored positions of the geometry by the values taken from vlSDK.

Field Documentation

◆ currentMesh

Vector3 [] VLGeometry.currentMesh

◆ detailLevel

float VLGeometry.detailLevel = 0.1f

◆ lineLength

float VLGeometry.lineLength = 1f

◆ lineStep

int VLGeometry.lineStep = 3

◆ phiLength

float VLGeometry.phiLength = 180f

◆ phiStart

float VLGeometry.phiStart = 0f

◆ planeLength

float VLGeometry.planeLength = 1f

◆ planeStep

int VLGeometry.planeStep = 3

◆ planeWidth

float VLGeometry.planeWidth = 1f

◆ shape

VLGeometryShape VLGeometry.shape

◆ sphereRadius

float VLGeometry.sphereRadius = 1

◆ thetaLength

float VLGeometry.thetaLength = 360f

◆ thetaStart

float VLGeometry.thetaStart = 0f