|
| Tubular () |
| Empty.
|
|
| Tubular (const Vector &, const Vector &, const double &, const double &) |
| Creates a tube given vertices and radii.
|
|
| ~Tubular () |
| Empty.
|
|
double | Radius () const |
| Gets the external radius.
|
|
double | InternalRadius () const |
| Gets the external radius.
|
|
bool | Inside (const Vector &) const |
| Check if a point is inside or outside the tube.
|
|
Vector | Normal (const Vector &) const |
| Compute the normal vector to a tube.
|
|
double | R (const Vector &) const |
| Compute the squared distance to a tube.
|
|
double | Signed (const Vector &) const |
| Compute the signed Euclidean distance to a tube.
|
|
double | Volume () const |
| Computes the volume of a tube.
|
|
double | Area () const |
| Compute the surface area of a tube.
|
|
void | Translate (const Vector &) |
| Translate a tube.
|
|
void | Rotate (const Matrix &) |
| Rotates a tube.
|
|
void | Scale (const double &) |
| Scale a tube.
|
|
Box | GetBox () const |
| Computes the axis-aligned bounding box of a tube.
|
|
Vector | Vertex (int) const |
| Return one of the end vertexes of the axis.
|
|
|
double | Radial (const Vector &, Vector &, Vector &) const |
| Compute the radial coordinates of a point.
|
|
| Axis () |
| Empty.
|
|
| Axis (const Vector &, const Vector &) |
| Creates an axis given end vertices.
|
|
| ~Axis () |
| Empty.
|
|
void | Rotate (const Matrix &) |
| Rotates an axis.
|
|
void | Translate (const Vector &) |
| Translates an axis.
|
|
void | Scale (const double &) |
| Uniformly scales an axis.
|
|
void | Scale (const Vector &) |
| Scales an axis.
|
|
Quadric | Equation (const Ray &) const |
| Compute the polynomial equation of the Euclidean distance between a ray and the axis.
|
|
Vector | Vertex (int) const |
| Return one of the end vertexes of the axis.
|
|
Vector | Point (const double &) const |
| Compute a point on the axis.
|
|
Vector | GetAxis () const |
| Returns the normalized axis vector.
|
|
double | Length () const |
| Return the axis length.
|
|
Vector | Symmetric (const Vector &) const |
| Symmetric point.
|
|
Sphere | Symmetric (const Sphere &) const |
| Symmetric sphere.
|
|
Vector | Normal (const Vector &) const |
| Compute the normal vector between a point and its projection onto the edge.
|
|
double | R (const Vector &) const |
| Compute the squared distance to the segment.
|
|
double | R (const Axis &) const |
| Compute the squared distance between two axes.
|
|
double | R (const Vector &, double &) const |
| Compute the squared distance to the axis.
|
|
Matrix | GetFrame () const |
| Compute an orthonormal frame attached to the axis.
|
|
Vector2 | Radial (const Vector &) const |
| Compute the radial coordinates of a point.
|
|
static Matrix | GetFrame (const Vector &) |
| Compute an orthonormal frame attached to the axis.
|
|
static Vector | BoxVector (const Vector &) |
| Compute the box vector extent of a unit circle with a given axis.
|
|
static const Axis | Z |
| Axes from origin, identical to Axis(Vector::Null,Vector::X) ...
|
|
A tube, i.e., a pierced cylinder.
Note that only the radii are stored, the squared radii are computed on the fly whenever needed.
- See also
- Bubble