Method SetPlane
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
SetPlane(GeoPlane3)
Puts the leader in a plane, as AutoCAD's SetPlane: its normal (210) the plane's, each vertex moved straight
onto the plane, and the direction of its hook line (211) laid in the plane, the x axis of the plane's own system
where it stood along the normal. The leader through (0, 0, 5), (10, 10, 5) and (20, 10, 8) put in the floor runs
through (0, 0, 0), (10, 10, 0) and (20, 10, 0), its normal (0, 0, 1). A vertex and a direction in the plane already
keep their numbers, a hook (2, 0, 0) as a scale of 2 leaves it among them, and a normal the plane's to 1E-12 keeps
its own, so that the leader put in its own plane changes nothing. The annotation is an entity of its own,
and stays where it is; the offsets of the last vertex from it (212 and 213) are kept.
public void SetPlane(GeoPlane3 value)
Parameters
valueGeoPlane3The plane.
Exceptions
- ArgumentException
Thrown when the plane is not valid: a point not finite, or a normal of no length.
- InvalidOperationException
Thrown when the leader is erased.