module special.geometry_point
¶
Classes¶
class |
truncated documentation |
---|---|
raises when an issue arises with class GeometryPoint |
|
one point |
Methods¶
method |
truncated documentation |
---|---|
addition |
|
comparison |
|
is equal |
|
addition |
|
multiplication by a scalar |
|
returns the dimension |
|
inferior |
|
multiplication by a scalar |
|
is different |
|
|
|
converts into string |
|
substraction |
|
return the angle |
|
return the cos, sin of a vector (dimension 2 only) |
|
return the norm |
|
vectoriel product, dimension 2 only |
|
scalar product |
Documentation¶
Defines a point in N-dimension
-
exception
ensae_teaching_cs.special.geometry_point.
GeometryException
[source]¶ Bases :
Exception
raises when an issue arises with class GeometryPoint
-
class
ensae_teaching_cs.special.geometry_point.
GeometryPoint
(*x)[source]¶ Bases :
object
one point
- Paramètres
x – is a vector
-
__hash__
= None¶
-
__slots__
= ['_x']¶
-
_x
¶