Represents a 3d line segment. LineSegment2D is the same for 2d.
More...
|
| bool | Equals (LineSegment3D other) |
| | Returns true if this equals the other edge.
|
| void | Update (Vector3 a, Vector3 b) |
| | Updates a line segments' ends and length to match new ends.
|
| int | GetSize () |
| | Gets the size (in bytes) of this object.
|
|
|
Vector3 | Vertex1 = vertex1 [get] |
| | The first vertex of the edge.
|
|
Vector3 | Vertex2 = vertex2 [get] |
| | The second vertex of the edge.
|
|
double | Length = MathUtils.GetVector3LengthD(vertex1 - vertex2) [get] |
Represents a 3d line segment. LineSegment2D is the same for 2d.
- Parameters
-
◆ Equals()
| bool Angulos._3d.ObjectRepresentation.Shapes.LineSegment3D.Equals |
( |
LineSegment3D | other | ) |
|
|
inline |
Returns true if this equals the other edge.
- Parameters
-
- Returns
◆ GetSize()
| int Angulos._3d.ObjectRepresentation.Shapes.LineSegment3D.GetSize |
( |
| ) |
|
|
inline |
Gets the size (in bytes) of this object.
- Returns
◆ Update()
| void Angulos._3d.ObjectRepresentation.Shapes.LineSegment3D.Update |
( |
Vector3 | a, |
|
|
Vector3 | b ) |
|
inline |
Updates a line segments' ends and length to match new ends.
- Parameters
-
The documentation for this class was generated from the following file:
- Sharp/_3d/ObjectRepresentation/Shapes/LineSegment3D.cs