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...
 
float GetGeometrySize ()
 Calculates the biggest boundary value of the geometry More...
 
void UpdateMesh ()
 Updates the stored positions of the geometry by the values taken from vlSDK. More...
 

Data Fields

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

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.