Constructor CadUcs
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
CadUcs(GeoPoint3, GeoVector3, GeoVector3, string)
Makes a system of an origin and two axes, the axes made of unit length and the Y axis square to the X axis in the plane of both.
public CadUcs(GeoPoint3 origin, GeoVector3 xAxis, GeoVector3 yAxis, string name = null)
Parameters
originGeoPoint3The origin, in world coordinates.
xAxisGeoVector3The X axis, in world coordinates.
yAxisGeoVector3A direction in the XY plane on the side of the positive Y axis.
namestringThe name of a named system; null for one with no name.
Exceptions
- ArgumentException
Thrown when a number is not finite, an axis has no length, or the two axes are parallel.