API Reference
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
DB.Api.BoundingBox2d Class Reference

Class to handle a 2D bounding box. A 2D bounding box is essentially an object that can be used to define the range of a 2D plane within a DB model. More...

Public Member Functions

bool Contains (Point2d pt)
 Method to determine whether a 2D point lies within the bounding box.
 

Properties

Point2d MinPoint [get, set]
 Returns the coordinate of the lower left corner of the bounding box as a Point2d object.
 
Point2d MaxPoint [get, set]
 Returns the coordinate of the upper right corner of the bounding box as a Point2d object.
 
double ExtentX [get]
 Returns the extent of the bounding box in the X-dimension.
 
double ExtentY [get]
 Returns the extent of the bounding box in the Y-dimension.
 
Point2d Centre [get]
 Returns the coordinate of the centre point of the bounding box as a Point2d object.
 

Detailed Description

Class to handle a 2D bounding box. A 2D bounding box is essentially an object that can be used to define the range of a 2D plane within a DB model.

Member Function Documentation

◆ Contains()

bool DB.Api.BoundingBox2d.Contains ( Point2d  pt)

Method to determine whether a 2D point lies within the bounding box.

Parameters
ptCoordinate of point
Returns
TRUE if point contained otherwise FALSE

The documentation for this class was generated from the following file: