WFMath_Segment(3)

WFMath::Segment< dim >(3) WFMath WFMath::Segment< dim >(3)

NAME

WFMath::Segment< dim > - A line segment embedded in dim dimensions.

SYNOPSIS

#include <segment.h>

Public Member Functions


Segment ()
construct an uninitialized segment Segment (const Point< dim > &p1, const Point< dim > &p2)
construct a segment with endpoints p1 and p2 Segment (const Segment &s)
construct a copy of a segment const Point< dim > & endpoint (const int i) const
get one end of the segment Point< dim > & endpoint (const int i)
get one end of the segment

Detailed Description

template<int dim = 3>

class WFMath::Segment< dim >" A line segment embedded in dim dimensions.

This class implements the full shape interface, as described in the fake class Shape.

Author

Generated automatically by Doxygen for WFMath from the source code.

Sat Sep 30 2017 Version 1.0.2