Class NormalCone

Class Documentation

class NormalCone

A class implementing a normal cone.

Public Functions

inline NormalCone()

default constructor (not initialized)

inline NormalCone(const Normal &normal, Scalar angle = 0.0)

Initialize cone with center (unit vector) and angle (radius in radians)

inline const Normal &center_normal() const

returns center normal

inline Scalar angle() const

returns size of cone (radius in radians)

inline NormalCone &merge(const Normal &n)

merge *this with n.

inline NormalCone &merge(const NormalCone &nc)

merge *this with nc. *this will then enclose both cones.