Visualisierung 2 CNN
CircleShape Class Reference
Inheritance diagram for CircleShape:
Shape

Public Member Functions

 CircleShape (Vector3 position, DrawMode drawMode, int resolution, float spacing)
 
override float [] Bbox ()
 calculate the bounding box of this shape More...
 
- Public Member Functions inherited from Shape
 Shape (Vector3 position, DrawMode drawMode)
 
Vector3 [] GetVertices (bool update)
 Return vertices of this shape. If update parameter is false, stored vertices are returned, else they are recalculated. More...
 

Static Public Member Functions

static Vector3 [] ScaledUnitCircle (int res, Vector3 pos, float scale)
 
- Static Public Member Functions inherited from Shape
static Vector3 [] InterpolateShapes (Vector3[] s1, Vector3[] s2, float alpha)
 Interpolate 2 Shapes with different parameters and return their vertices. More...
 

Public Attributes

int resolution
 
float spacing
 

Protected Member Functions

override void calcVertices ()
 returns 3d Vectors that can be added to the mesh. More...
 

Additional Inherited Members

- Protected Attributes inherited from Shape
DrawMode drawMode
 
Vector3 [] _verts
 
- Properties inherited from Shape
Vector3 position [get, set]
 

Constructor & Destructor Documentation

◆ CircleShape()

CircleShape.CircleShape ( Vector3  position,
DrawMode  drawMode,
int  resolution,
float  spacing 
)

Member Function Documentation

◆ Bbox()

override float [] CircleShape.Bbox ( )
virtual

calculate the bounding box of this shape

Returns

Implements Shape.

◆ calcVertices()

override void CircleShape.calcVertices ( )
protectedvirtual

returns 3d Vectors that can be added to the mesh.

Implements Shape.

◆ ScaledUnitCircle()

static Vector3 [] CircleShape.ScaledUnitCircle ( int  res,
Vector3  pos,
float  scale 
)
static

Member Data Documentation

◆ resolution

int CircleShape.resolution

◆ spacing

float CircleShape.spacing

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