TheAlgorithms/C++ 1.0.0
All the algorithms implemented in C++
Loading...
Searching...
No Matches
Point Struct Reference

Public Member Functions

 Point (double a=0.f, double b=0.f)
 

Public Attributes

int x
 
int y
 Point respect to x coordinate.
 
double x
 
double y
 

Detailed Description

Define a Point.

Define a point

Definition at line 12 of file line_segment_intersection.cpp.

Constructor & Destructor Documentation

◆ Point()

Point::Point ( double a = 0.f,
double b = 0.f )
inlineexplicit

construct a point

Parameters
[in]aabsicca (default = 0.0)
[in]bordinate (default = 0.0)

Definition at line 23 of file smallest_circle.cpp.

23 {
24 x = a;
25 y = b;
26 }
int y
Point respect to x coordinate.

Member Data Documentation

◆ x [1/2]

int Point::x

Definition at line 13 of file line_segment_intersection.cpp.

◆ x [2/2]

double Point::x

abscissa

Definition at line 16 of file smallest_circle.cpp.

◆ y [1/2]

int Point::y

Point respect to x coordinate.

Definition at line 14 of file line_segment_intersection.cpp.

◆ y [2/2]

double Point::y

ordinate

Definition at line 17 of file smallest_circle.cpp.


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