Constructs a circle from a center point, the radius and a normal vector.
Namespace:
ceometric.VectorGeometryAssembly: ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)
Syntax
C# |
---|
public Circle( Point center, double radius, Vector3d normalVector ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ center As Point, _ radius As Double, _ normalVector As Vector3d _ ) |
Visual C++ |
---|
public: Circle( Point^ center, double radius, Vector3d^ normalVector ) |
Parameters
- center
- Type: ceometric.VectorGeometry..::.Point
The center point of the circle.
- radius
- Type: System..::.Double
The radius of the circle.
- normalVector
- Type: ceometric.VectorGeometry..::.Vector3d
A normal vector of the circle.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentException | The length of normalVector is zero. |
System..::.ArgumentException | The radius is zero or negative. |