C++
virtual Acad::ErrorStatus getPlane( AcGePlane&, AcDb::Planarity& ) const;
Description
If the entity is planar, then the plane containing the entity is returned in plane and flag is set to AcDb::kPlanar.
If the entity is nonplanar, but is linear, then plane is set to an arbitrary plane that contains the entity and flag is set to AcDb::kLinear.
If the entity is nonplanar and nonlinear, then plane is left unset and flag is set to AcDb::kNonPlanar.
Returns Acad::eOk if successful. Other ErrorStatus return values are implementation-dependent.
The default implementation is to return Acad::eNotApplicable.
Parameters
Parameters | Description |
---|---|
unnamed1 | Returns the plane which contains the curve |
unnamed2 | Returns the curve's configuration. Possible values are AcDb::kNonPlanar, AcDb::kPlanar, AcDb::kLinear |