Bexel Manager API Documentation
|
Public Member Functions | |
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< Vector3D > | GetAllVertices () |
Retrieves all vertices. More... | |
IEnumerable< Triangle3D > | GetAllTriangles () |
Retrieves all triangles. More... | |
IEnumerable< Segment3D > | GetAllEdges () |
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 () |
Static Public Member Functions | |
static bool | operator== (Geometry left, Geometry right) |
static bool | operator!= (Geometry left, Geometry right) |
Properties | |
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... | |
Additional Inherited Members | |
Protected Member Functions inherited from Bexel.Api.ApiObject | |
virtual void | CheckValidity () |
IEnumerable<Segment3D> Bexel.Api.Geometry.GetAllEdges | ( | ) |
IEnumerable<Triangle3D> Bexel.Api.Geometry.GetAllTriangles | ( | ) |
IEnumerable<Vector3D> Bexel.Api.Geometry.GetAllVertices | ( | ) |
AABB3D Bexel.Api.Geometry.GetBoundingBox | ( | ) |
Returns an axis aligned bounding box (AABB) of the geometry.
Implements Bexel.Api.IGeometry.
Segment3D Bexel.Api.Geometry.GetEdge | ( | int | index | ) |
Retrieves the edge at the specified index.
index | Index of the edge. Must be in range [0, EdgeCount). |
Bexel.Api.InvalidApiArgumentException | Thrown if specified index is out of range. |
Implements Bexel.Api.IGeometry.
OBB3D Bexel.Api.Geometry.GetOrientedBoundingBox | ( | ) |
Calculates and returns an object oriented bounding box (OBB) of the geometry.
Only XY plane is used to calculate the orientation of the object.
Implements Bexel.Api.IGeometry.
Triangle3D Bexel.Api.Geometry.GetTriangle | ( | int | index | ) |
Retrieves the triangle at the specified index.
index | Index of the triangle. Must be in range [0, TriangleCount). |
Bexel.Api.InvalidApiArgumentException | Thrown if specified index is out of range. |
Implements Bexel.Api.IGeometry.
Vector3D Bexel.Api.Geometry.GetVertex | ( | int | index | ) |
Retrieves the vertex at the specified index.
index | Index of the vertex. Must be in range [0, VertexCount). |
Bexel.Api.InvalidApiArgumentException | Thrown if specified index is out of range. |
Implements Bexel.Api.IGeometry.