Digital Image Correlation Engine
Version 1.0
A modular, high-performance, image correlation tool used to compute full-field displacements and strains from digital images
|
A circle is a DICe::Shape defined by a centroid and radius. More...
#include <DICe_Shape.h>
Public Member Functions | |
Circle (const int_t centroid_x, const int_t centroid_y, const scalar_t &radius) | |
Constructor. More... | |
virtual std::set< std::pair< int_t, int_t > > | get_owned_pixels (Teuchos::RCP< Local_Shape_Function > shape_function=Teuchos::null, const int_t cx=0, const int_t cy=0, const scalar_t skin_factor=1.0) const |
See base class documentation. | |
virtual void | deactivate_pixels (const int_t size, bool *pixel_flags, int_t *x_coords, int_t *y_coords) const |
See base class documentation. | |
Private Attributes | |
int_t | centroid_x_ |
Center of the circle global x-coordinate. | |
int_t | centroid_y_ |
Center of the circle global y-coordinate. | |
scalar_t | radius2_ |
Radius of the circle. More... | |
int_t | min_x_ |
Minimum x global coordinate of the circle. | |
int_t | max_x_ |
Maximum x global coordinate of the circle. | |
int_t | min_y_ |
Minimum y global coordinate of the circle. | |
int_t | max_y_ |
Maximum y global coordinate of the circle. | |
A circle is a DICe::Shape defined by a centroid and radius.
Constructor.
centroid_x | integer valued global x-coordinate for the center of the circle |
centroid_y | integer valued global y-coordinate for the center of the circle |
radius | Radius of the circle |
|
private |
Radius of the circle.
Radius of the circle squared