Phyzix
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
LineSegmentBoundary Class Reference
Inheritance diagram for LineSegmentBoundary:
Boundary RuntimeBaseTypeIdentifiable

Public Member Functions

RuntimeBaseType getBaseType () const override
 
 LineSegmentBoundary (float x1, float y1, float x2, float y2)
 
BoundaryIntersectionResult intersects (Boundary *o) override
 A pure virtual function to check if the boundary intersects with another boundary.
 

Public Attributes

float x1
 
float y1
 
float x2
 
float y2
 
- Public Attributes inherited from Boundary
float e = 0.8
 

Additional Inherited Members

- Static Public Member Functions inherited from Boundary
static BoundaryIntersectionResult intersects (Boundaries b1, Boundaries b2)
 A static function to check if two boundaries (list) intersect.
 

Member Function Documentation

◆ getBaseType()

RuntimeBaseType LineSegmentBoundary::getBaseType ( ) const
inlineoverridevirtual

Reimplemented from Boundary.

◆ intersects()

BoundaryIntersectionResult LineSegmentBoundary::intersects ( Boundary * other)
overridevirtual

A pure virtual function to check if the boundary intersects with another boundary.

Parameters
other
Returns
BoundaryIntersectionResult

Implements Boundary.


The documentation for this class was generated from the following files: