struct Graphene::Plane
- Graphene::Plane
- Struct
- Value
- Object
Overview
A 2D plane that extends infinitely in a 3D volume.
The contents of the graphene_::plane_t
are private, and should not be
modified directly.
Defined in:
lib/gi-crystal/src/auto/graphene-1.0/plane.crConstructors
- .new(pointer : Pointer(Void), transfer : GICrystal::Transfer)
- .new(data : LibGraphene::Plane, _transfer : GICrystal::Transfer)
- .new(normal : Graphene::Vec3? = nil, constant : Float32? = nil)
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
- #==(other : self) : Bool
- #constant : Float32
- #constant(*args, **options)
- #constant(*args, **options, &)
- #constant=(arg)
- #distance(point : Graphene::Point3D) : Float32
- #equal(b : Graphene::Plane) : Bool
- #free : Nil
- #init(normal : Graphene::Vec3?, constant : Float32) : Graphene::Plane
- #init_from_plane(src : Graphene::Plane) : Graphene::Plane
- #init_from_point(normal : Graphene::Vec3, point : Graphene::Point3D) : Graphene::Plane
- #init_from_points(a : Graphene::Point3D, b : Graphene::Point3D, c : Graphene::Point3D) : Graphene::Plane
- #init_from_vec4(src : Graphene::Vec4) : Graphene::Plane
- #negate : Graphene::Plane
- #normal : Graphene::Vec3
- #normal(*args, **options)
- #normal(*args, **options, &)
- #normal=(arg)
- #normalize : Graphene::Plane
- #transform(matrix : Graphene::Matrix, normal_matrix : Graphene::Matrix?) : Graphene::Plane
Constructor Detail
Class Method Detail
Instance Method Detail
def init_from_points(a : Graphene::Point3D, b : Graphene::Point3D, c : Graphene::Point3D) : Graphene::Plane
#