Summary

A tapered shape between two points with a radius at each end. Supports cones and cylinders, with flat ends.

Constructors

Cone A tapered shape between two points with a radius at each end. Supports cones and cylinders, with flat ends.

Fields

CenterA Start point.
CenterB End point.
RadiusA Radius at the start.
RadiusB Radius at the end.

Properties

Bounds Bounding box that contains the shape.
RandomPointInside Get a random point inside.
RandomPointOnEdge Get a random point on the surface.

Methods

Contains Check if a point is inside.
GetEdgeDistance Distance from a point to the surface.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.