Bexel Manager API Documentation
Bexel.Api.InstancedGeometry Class Reference

Represents a geometrical representation of an object which is an instance of another Bexel.Api.Geometry with applied transform. More...

Inheritance diagram for Bexel.Api.InstancedGeometry:
Bexel.Api.Geometry Bexel.Api.ApiObject IEquatable Bexel.Api.IGeometry

Public Member Functions

Geometry GetBaseGeometry ()
 Returns the Bexel.Api.Geometry from which this instance is created. More...
 
float [] GetTransform ()
 Retrieves the transform matrix which is applied to the base geometry. More...
 
- Public Member Functions inherited from Bexel.Api.Geometry
Vector3D GetVertex (int index)
 Retrieves the vertex at the specified index. More...
 
Triangle3D GetTriangle (int index)
 Retrieves the triangle at the specified index. More...
 
Segment3D GetEdge (int index)
 Retrieves the edge at the specified index. More...
 
IEnumerable< Vector3DGetAllVertices ()
 Retrieves all vertices. More...
 
IEnumerable< Triangle3DGetAllTriangles ()
 Retrieves all triangles. More...
 
IEnumerable< Segment3DGetAllEdges ()
 Retrieves all edges. More...
 
AABB3D GetBoundingBox ()
 Returns an axis aligned bounding box (AABB) of the geometry. More...
 
OBB3D GetOrientedBoundingBox ()
 Calculates and returns an object oriented bounding box (OBB) of the geometry. More...
 
bool Equals (Geometry other)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Bexel.Api.Geometry
static bool operator== (Geometry left, Geometry right)
 
static bool operator!= (Geometry left, Geometry right)
 
- Protected Member Functions inherited from Bexel.Api.ApiObject
virtual void CheckValidity ()
 
- Properties inherited from Bexel.Api.Geometry
override bool IsValid [get]
 
int VertexCount [get]
 
int TriangleCount [get]
 
int EdgeCount [get]
 
- Properties inherited from Bexel.Api.ApiObject
abstract bool IsValid [get]
 Indicates if the API object is valid or not. More...
 
- Properties inherited from Bexel.Api.IGeometry
int VertexCount [get]
 Returns the number of vertices associated with the geometry. More...
 
int TriangleCount [get]
 Returns the number of triangles associated with the geometry. More...
 
int EdgeCount [get]
 Returns the number of edges associated with this geometry. More...
 

Detailed Description

Represents a geometrical representation of an object which is an instance of another Bexel.Api.Geometry with applied transform.

Member Function Documentation

◆ GetBaseGeometry()

Geometry Bexel.Api.InstancedGeometry.GetBaseGeometry ( )

Returns the Bexel.Api.Geometry from which this instance is created.

Returns
Base geometry from this instance is created from.

◆ GetTransform()

float [] Bexel.Api.InstancedGeometry.GetTransform ( )

Retrieves the transform matrix which is applied to the base geometry.

Returns
Transform matrix represented as array (row-major).