Constructs a circular 3d arc.
Namespace:
ceometric.VectorGeometryAssembly: ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)
Syntax
C# |
---|
public Arc( Point center, Vector3d startVector, Vector3d endVector, Vector3d normalVector ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ center As Point, _ startVector As Vector3d, _ endVector As Vector3d, _ normalVector As Vector3d _ ) |
Visual C++ |
---|
public: Arc( Point^ center, Vector3d^ startVector, Vector3d^ endVector, Vector3d^ normalVector ) |
Parameters
- center
- Type: ceometric.VectorGeometry..::.Point
The center point of the arc.
- startVector
- Type: ceometric.VectorGeometry..::.Vector3d
The start vector of the arc.
- endVector
- Type: ceometric.VectorGeometry..::.Vector3d
The end vector of the arc.
- normalVector
- Type: ceometric.VectorGeometry..::.Vector3d
The normal vector of the arc.
Remarks
Start vector, end vector and normal vector have a right-hand orientation. This
orientation is neccessary to identify which of the two angles between the start and end
vector defines the arc.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentException | Start vector length not equal end vector length. |
System..::.ArgumentException | Normal vector not orthogonal to start and end vector. |