Besides infinite planes, the Ge library supports bounded planes which are represented by the OdGeBoundedPlane
class. Different from infinite planes, bounded planes parameters space is bounded by a region with sides of 1.0
so that u and v parameters values are from 0.0 to 1.0.
You can construct an OdGeBoundedPlane object using the following OdGeBoundedPlane() constructors:
OdGeBoundedPlane() — The default plane constructor. Creates an infinite plane parallel to the XY plane.
OdGeBoundedPlane(const OdGeBoundedPlane& plane) — Creates a bounded plane cloned from a specified OdGePlane object.
OdGeBoundedPlane(const OdGePoint3d& origin, const OdGeVector3d& uAxis, const OdGeVector3d& vAxis) — Creates a bounded plane from an origin and two vectors.
OdGeBoundedPlane(const OdGePoint3d& uPnt, const OdGePoint3d& origin, const OdGePoint3d& vPnt) — Creates a bounded plane from an origin and two points.
For example, to construct a bounded plane with the origin at p1 and two points at p2 and p3:
OdGeBoundedPlane bPlane1(p2, p1, p3);
Use the set() method to set the origin and two vectors or three points that define the plane: