Nuke binary plugins 15.1.5
 
Loading...
Searching...
No Matches
DD::Image::Plane Class Reference

#include <Plane.h>

Public Member Functions

 Plane ()
 
 Plane (const Plane &plane)
 
 Plane (const Vector3 &n, const Vector3 &p)
 
 Plane (const Vector3 &p0, const Vector3 &p1, const Vector3 &p2)
 
float distance (const Vector3 &p) const
 

Public Attributes

Vector3 normal
 
float d
 

Detailed Description

A plane in 3D space ( nx*x + ny*y + nz*z + d = 0 )

Constructor & Destructor Documentation

◆ Plane() [1/4]

DD::Image::Plane::Plane ( )
inline

default constructor

◆ Plane() [2/4]

DD::Image::Plane::Plane ( const Plane plane)
inline

copy constructor

◆ Plane() [3/4]

DD::Image::Plane::Plane ( const Vector3 n,
const Vector3 p 
)
inline

define a plane from a normal and a point on the plane

References DD::Image::Vector3::dot().

◆ Plane() [4/4]

DD::Image::Plane::Plane ( const Vector3 p0,
const Vector3 p1,
const Vector3 p2 
)
inline

Member Function Documentation

◆ distance()

float DD::Image::Plane::distance ( const Vector3 p) const
inline

distance between point and a plane

References DD::Image::Vector3::dot().

Referenced by DD::Image::ViewFrustum::getVisibility().



©2024 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.foundry.com