DFNgen  2.0
DFN Model Generator
Point Struct Reference

#include <structures.h>

Public Member Functions

 Point ()
 
 Point (double _x, double _y, double _z)
 

Public Attributes

double x
 
double y
 
double z
 

Detailed Description

Structure for 3D points/vertices. Constructor is overloaded for either creating a poing with uninitialized variables, or variables x, y, and z during object creation.

Definition at line 111 of file structures.h.

Constructor & Destructor Documentation

§ Point() [1/2]

Point::Point ( )

Initializes x, y, and z to zero.

Definition at line 47 of file structures.cpp.

§ Point() [2/2]

Point::Point ( double  _x,
double  _y,
double  _z 
)

Initializes x, y, and z with arguments passed to the constructor.

Definition at line 56 of file structures.cpp.

Member Data Documentation

§ x

double Point::x

Definition at line 112 of file structures.h.

§ y

double Point::y

Definition at line 113 of file structures.h.

§ z

double Point::z

Definition at line 114 of file structures.h.


The documentation for this struct was generated from the following files: