CartoType C++ API 8.8-7-gb35e4dc71
for Windows, Linux, Qt and other platforms supporting C++ development
Public Member Functions | Public Attributes | List of all members
CartoTypeCore::IntersectionType Class Reference

#include <cartotype_arithmetic.h>

Public Member Functions

bool None () const
 
bool Both () const
 

Public Attributes

IntersectionPlace FirstSegment = IntersectionPlace::None
 
IntersectionPlace SecondSegment = IntersectionPlace::None
 

Detailed Description

The type of intersection of two line segments.

Member Function Documentation

◆ Both()

bool CartoTypeCore::IntersectionType::Both ( ) const
inline

Returns true if the line segments intersect each other within their lengths.

◆ None()

bool CartoTypeCore::IntersectionType::None ( ) const
inline

Returns true if the lines, extended to infinity, do not intersect: that is, they are coincident or parallel.

Member Data Documentation

◆ FirstSegment

IntersectionPlace CartoTypeCore::IntersectionType::FirstSegment = IntersectionPlace::None

The intersection place of the first line segment.

◆ SecondSegment

IntersectionPlace CartoTypeCore::IntersectionType::SecondSegment = IntersectionPlace::None

The intersection place of the second line segment.


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