FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
Point3d.h
Go to the documentation of this file.
1//
2// (C) Copyright 2005-2024 by Graebert GmbH.
3//
4// Permission to use, copy, modify, and distribute this software in
5// object code form for any purpose and without fee is hereby granted,
6// provided that the above copyright notice appears in all copies and
7// that both that copyright notice and the limited warranty and
8// restricted rights notice below appear in all supporting
9// documentation.
10//
11// GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
12// GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
13// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
14// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
15// UNINTERRUPTED OR ERROR FREE.
16
17#pragma once
18
19#include "IntPoint3d.h"
20#include "Point2d.h"
23#include "Transf3d.h"
24#include "Vector3d.h"
25
26class AcGePoint3d;
27
29{
30public:
31 static Point3d const kNull;
32
33public:
37 Point3d( double, double, double );
38 Point3d( void );
39 Point3d( const Point3d& );
40 //operator AcGePoint3d& ( void );
41 //operator AcGePoint3d const& ( void )const;
42 bool isBetween( Point3d const&, Point3d const& )const;
43 bool isEqual( Point3d, double )const;
44 bool isEqualRect( Point3d, double )const;
45 bool isValid( void )const;
46 Point2d toPoint2d( int )const;
47 Point2d toPoint2d( int, int )const;
48 Point2d toPoint2d( void )const;
51 Point3d operator*( double )const;
55 Point3d operator-( void )const;
56 Point3d operator/( double )const;
57 //Point3d project( Transf3d const & )const ;
59 Vector3d toVector3d( void )const;
60 double& operator[]( int );
61 double dist( Point3d )const;
62 double distRect( Point3d )const;
63 double distSqrd( Point3d )const;
64 double length( void )const;
65 double lengthRect( void )const;
66 double lengthSqrd( void )const;
67 double operator%( Vector3d )const;
68 double operator[]( int )const;
70 //void operator*=( Transf3d const & ) ;
71 void operator*=( double );
76 void operator/=( double );
77};
Point3d(Point2d)
static Point3d & cast(AcGePoint3d &)
Point3d(AcGePoint3d const &)
Point3d & operator=(Point3d const &)
double operator%(Vector3d) const
Point3d(void)
Point3d operator-(void) const
double dist(Point3d) const
Point3d operator+(Point3d) const
Point3d operator/(double) const
double & operator[](int)
double distSqrd(Point3d) const
Point3d(IntPoint3d)
Vector3d operator-(Point3d) const
double lengthRect(void) const
Point3d(double, double, double)
double length(void) const
void operator-=(Vector3d)
void operator-=(Point3d)
void operator+=(Vector3d)
Point3d operator*(double) const
double distRect(Point3d) const
double operator[](int) const
bool isBetween(Point3d const &, Point3d const &) const
bool isValid(void) const
Point2d toPoint2d(void) const
Point2d toPoint2d(int) const
void operator+=(Point3d)
Point3d operator-(Vector3d) const
Vector3d toVector3d(void) const
bool isEqualRect(Point3d, double) const
Point3d operator+(Vector3d) const
void operator/=(double)
bool isEqual(Point3d, double) const
double lengthSqrd(void) const
Point3d(const Point3d &)
static Point3d const kNull
Definition Point3d.h:31
Point2d toPoint2d(int, int) const
void operator*=(double)
Point3d & operator=(Point3d &&)