Property Normal
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
Normal
Gets or sets the normal of the plane of the polyline (groups 210, 220, 230), of unit length; (0, 0, 1) where the record gives none.
public GeoVector3 Normal { get; set; }
Property Value
- GeoVector3
Set, a direction of some length, written made of unit length. The vertices keep their coordinates in the plane of the normal, as AutoCAD's polyline keeps them, so the polyline turns with the plane and moves in the world: the vertex (10, 0) given the normal (0, 0, -1) is at (-10, 0, 0) in the world. A DxfDBText, DxfBlockReference, DxfSolid or DxfHatch keeps its points in its plane so too; a DxfCircle, DxfArc or DxfMText keeps its centre or location in the world instead (check D35d).
Exceptions
- ArgumentException
Thrown when the direction set has no length or is not finite.
- InvalidOperationException
Thrown when set on a polyline that is erased.