|
| | LineSegment2D (Vector2 vertex1, Vector2 vertex2) |
| | Constructs a line segement from a initial and secondary point. Also calculates the length of the line.
|
| void | Update (Vector2 vertex1, Vector2 vertex2) |
| | Updates a line segment to a initial and secondary point. Also calculates the new length.
|
|
|
Vector2 | Vertex1 [get] |
| | The first end of the line segment.
|
|
Vector2 | Vertex2 [get] |
| | The second end of the line segment.
|
|
double | Length [get] |
| | The actual length of the line segment. Use MathUtils.GetVector2LengthD to find this.
|
◆ LineSegment2D()
| Angulos._3d.ObjectRepresentation.Shapes.LineSegment2D.LineSegment2D |
( |
Vector2 | vertex1, |
|
|
Vector2 | vertex2 ) |
|
inline |
Constructs a line segement from a initial and secondary point. Also calculates the length of the line.
- Parameters
-
◆ Update()
| void Angulos._3d.ObjectRepresentation.Shapes.LineSegment2D.Update |
( |
Vector2 | vertex1, |
|
|
Vector2 | vertex2 ) |
|
inline |
Updates a line segment to a initial and secondary point. Also calculates the new length.
- Parameters
-
The documentation for this class was generated from the following file:
- Sharp/_3d/ObjectRepresentation/Shapes/LineSegment2D.cs