Represents a 2D segment.
More...
#include <ProceduralGeometryHelpers.h>
◆ Segment2D() [1/2]
Procedural::Segment2D::Segment2D |
( |
| ) |
|
◆ Segment2D() [2/2]
Contructor with arguments.
◆ findIntersect()
Computes the interesction between current segment and another segment.
- Parameters
-
other | the other segment |
intersection | the point of intersection if outputed there if it exists |
- Returns
- true if segments intersect, false otherwise
◆ intersects()
bool Procedural::Segment2D::intersects |
( |
const Segment2D & |
other | ) |
const |
Tells whether this segments intersects the other segment.
◆ mA
◆ mB
The documentation for this struct was generated from the following file:
- ProceduralGeometryHelpers.h