Blender  V3.3
Public Member Functions | Public Attributes | List of all members
Freestyle::Intersection< Edge > Class Template Reference

#include <SweepLine.h>

Public Member Functions

template<class EdgeClass >
 Intersection (EdgeClass *eA, real ta, EdgeClass *eB, real tb)
 
 Intersection (const Intersection &iBrother)
 
real getParameter (Edge *iEdge)
 

Public Attributes

voiduserdata
 
EdgeEdgeA
 
EdgeEdgeB
 
real tA
 
real tB
 

Detailed Description

template<class Edge>
class Freestyle::Intersection< Edge >

Class to define the intersection between two segments.

Definition at line 20 of file SweepLine.h.

Constructor & Destructor Documentation

◆ Intersection() [1/2]

template<class Edge >
template<class EdgeClass >
Freestyle::Intersection< Edge >::Intersection ( EdgeClass *  eA,
real  ta,
EdgeClass *  eB,
real  tb 
)
inline

◆ Intersection() [2/2]

template<class Edge >
Freestyle::Intersection< Edge >::Intersection ( const Intersection< Edge > &  iBrother)
inline

Member Function Documentation

◆ getParameter()

template<class Edge >
real Freestyle::Intersection< Edge >::getParameter ( Edge iEdge)
inline

returns the parameter giving the intersection, for the edge iEdge

Definition at line 41 of file SweepLine.h.

References Freestyle::Intersection< Edge >::EdgeA, Freestyle::Intersection< Edge >::EdgeB, Freestyle::Intersection< Edge >::tA, and Freestyle::Intersection< Edge >::tB.

Member Data Documentation

◆ EdgeA

template<class Edge >
Edge* Freestyle::Intersection< Edge >::EdgeA

◆ EdgeB

template<class Edge >
Edge* Freestyle::Intersection< Edge >::EdgeB

◆ tA

template<class Edge >
real Freestyle::Intersection< Edge >::tA

◆ tB

template<class Edge >
real Freestyle::Intersection< Edge >::tB

◆ userdata

template<class Edge >
void* Freestyle::Intersection< Edge >::userdata

Definition at line 53 of file SweepLine.h.

Referenced by Freestyle::Intersection< Edge >::Intersection().


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