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:
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:
bPlane1.set(OdGePoint3d(0,0,0), OdGeVector3d(1,0,0), OdGeVector3d(0,1,0));
bPlane1.set(OdGePoint3d(1,0,0), OdGePoint3d(0,0,0), OdGePoint3d(0,1,0));
Other functionality is similar to that of OdGePlane objects.
Copyright © 2002 – 2020. Open Design Alliance. All rights reserved.
|