DOTS Geometry
 
Loading...
Searching...
No Matches
LineSegment3D Struct Reference

A simple struct representing a segment of a 3D line. More...

Public Member Functions

bool Equals (LineSegment3D other)
 
float3 GetCenter ()
 
override int GetHashCode ()
 
float Length ()
 
 LineSegment3D (Vector3 a, Vector3 b)
 
override string ToString ()
 

Public Attributes

Vector3 a
 
Vector3 b
 

Static Public Attributes

static readonly LineSegment3D negativeInfinite = new LineSegment3D() { a = Vector3.negativeInfinity, b = Vector3.negativeInfinity }
 
static readonly LineSegment3D positiveInfinite = new LineSegment3D() { a = Vector3.positiveInfinity, b = Vector3.positiveInfinity }
 

Detailed Description

A simple struct representing a segment of a 3D line.