Bexel Manager API Documentation
Bexel.Api.Segment3D Struct Reference

Represents a segment in 3-dimensional space. More...

Public Member Functions

float GetLength ()
 Retrieves the length of the segment. More...
 
float GetLengthSquared ()
 Retrieves the squared length of the segment. More...
 

Properties

Vector3D A [get]
 Returns the start point of the segment. More...
 
Vector3D B [get]
 Returns the end point of the segment. More...
 

Detailed Description

Represents a segment in 3-dimensional space.

Member Function Documentation

◆ GetLength()

float Bexel.Api.Segment3D.GetLength ( )

Retrieves the length of the segment.

Returns
The length of the segment.

◆ GetLengthSquared()

float Bexel.Api.Segment3D.GetLengthSquared ( )

Retrieves the squared length of the segment.

Returns
The squared length of the segment.

Property Documentation

◆ A

Vector3D Bexel.Api.Segment3D.A
get

Returns the start point of the segment.

◆ B

Vector3D Bexel.Api.Segment3D.B
get

Returns the end point of the segment.