919 lines
42 KiB
HTML
919 lines
42 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!--NewPage-->
|
|
<HTML>
|
|
<HEAD>
|
|
<!-- Generated by javadoc (build 1.6.0_24) on Sun Apr 15 20:18:21 CEST 2012 -->
|
|
<TITLE>
|
|
Plane
|
|
</TITLE>
|
|
|
|
<META NAME="date" CONTENT="2012-04-15">
|
|
|
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
|
|
|
<SCRIPT type="text/javascript">
|
|
function windowTitle()
|
|
{
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="Plane";
|
|
}
|
|
}
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
</NOSCRIPT>
|
|
|
|
</HEAD>
|
|
|
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
|
<HR>
|
|
|
|
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<A NAME="navbar_top"><!-- --></A>
|
|
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
<A NAME="navbar_top_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Plane.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework"><B>PREV CLASS</B></A>
|
|
<A HREF="../../../Microsoft/Xna/Framework/PlaneIntersectionType.html" title="enum in Microsoft.Xna.Framework"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../index.html?Microsoft/Xna/Framework/Plane.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="Plane.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
</NOSCRIPT>
|
|
|
|
|
|
</FONT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_top"></A>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
|
|
<HR>
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<H2>
|
|
<FONT SIZE="-1">
|
|
Microsoft.Xna.Framework</FONT>
|
|
<BR>
|
|
Class Plane</H2>
|
|
<PRE>
|
|
java.lang.Object
|
|
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../System/ValueType.html" title="class in System">System.ValueType</A>
|
|
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>Microsoft.Xna.Framework.Plane</B>
|
|
</PRE>
|
|
<DL>
|
|
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../System/IEquatable.html" title="interface in System">IEquatable</A><<A HREF="../../../Microsoft/Xna/Framework/Plane.html" title="class in Microsoft.Xna.Framework">Plane</A>></DD>
|
|
</DL>
|
|
<HR>
|
|
<DL>
|
|
<DT><PRE>public final class <B>Plane</B><DT>extends <A HREF="../../../System/ValueType.html" title="class in System">ValueType</A><DT>implements <A HREF="../../../System/IEquatable.html" title="interface in System">IEquatable</A><<A HREF="../../../Microsoft/Xna/Framework/Plane.html" title="class in Microsoft.Xna.Framework">Plane</A>></DL>
|
|
</PRE>
|
|
|
|
<P>
|
|
Defines a plane.
|
|
<P>
|
|
|
|
<P>
|
|
<DL>
|
|
<DT><B>Author:</B></DT>
|
|
<DD>Halofreak1990</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<P>
|
|
<!-- =========== FIELD SUMMARY =========== -->
|
|
|
|
<A NAME="field_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Field Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> float</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Plane.html#D">D</A></B></CODE>
|
|
|
|
<BR>
|
|
The distance of the Plane along its normal from the origin.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Plane.html#Normal">Normal</A></B></CODE>
|
|
|
|
<BR>
|
|
The normal vector of the Plane.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
|
|
<A NAME="constructor_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Constructor Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Plane.html#Plane()">Plane</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Creates a new instance of Plane.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Plane.html#Plane(float, float, float, float)">Plane</A></B>(float a,
|
|
float b,
|
|
float c,
|
|
float d)</CODE>
|
|
|
|
<BR>
|
|
Creates a new instance of Plane.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Plane.html#Plane(Microsoft.Xna.Framework.Vector3, float)">Plane</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A> normal,
|
|
float d)</CODE>
|
|
|
|
<BR>
|
|
Creates a new instance of Plane.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Plane.html#Plane(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)">Plane</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A> point1,
|
|
<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A> point2,
|
|
<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A> point3)</CODE>
|
|
|
|
<BR>
|
|
Creates a new instance of Plane.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Plane.html#Plane(Microsoft.Xna.Framework.Vector4)">Plane</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</A> value)</CODE>
|
|
|
|
<BR>
|
|
Creates a new instance of Plane.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
|
|
<A NAME="method_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Method Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> float</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Plane.html#Dot(Microsoft.Xna.Framework.Vector4)">Dot</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</A> value)</CODE>
|
|
|
|
<BR>
|
|
Calculates the dot product of a specified Vector4 and this Plane.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Plane.html#Dot(Microsoft.Xna.Framework.Vector4, float)">Dot</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</A> value,
|
|
float result)</CODE>
|
|
|
|
<BR>
|
|
Calculates the dot product of a specified Vector4 and this Plane.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> float</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Plane.html#DotCoordinate(Microsoft.Xna.Framework.Vector3)">DotCoordinate</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A> value)</CODE>
|
|
|
|
<BR>
|
|
Returns the dot product of a specified Vector3 and the Normal vector of this Plane plus the distance (D) value of the Plane.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Plane.html#DotCoordinate(Microsoft.Xna.Framework.Vector3, float)">DotCoordinate</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A> value,
|
|
float result)</CODE>
|
|
|
|
<BR>
|
|
Returns the dot product of a specified Vector3 and the Normal vector of this Plane plus the distance (D) value of the Plane.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> float</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Plane.html#DotNormal(Microsoft.Xna.Framework.Vector3)">DotNormal</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A> value)</CODE>
|
|
|
|
<BR>
|
|
Returns the dot product of a specified Vector3 and the Normal vector of this Plane.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Plane.html#DotNormal(Microsoft.Xna.Framework.Vector3, float)">DotNormal</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A> value,
|
|
float result)</CODE>
|
|
|
|
<BR>
|
|
Returns the dot product of a specified Vector3 and the Normal vector of this Plane.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Plane.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object obj)</CODE>
|
|
|
|
<BR>
|
|
Determines whether the specified Object is equal to the Plane.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Plane.html#Equals(Microsoft.Xna.Framework.Plane)">Equals</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Plane.html" title="class in Microsoft.Xna.Framework">Plane</A> other)</CODE>
|
|
|
|
<BR>
|
|
Determines whether the specified Plane is equal to the Plane.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Plane.html#hashCode()">hashCode</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Gets the hash code for this object.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../Microsoft/Xna/Framework/PlaneIntersectionType.html" title="enum in Microsoft.Xna.Framework">PlaneIntersectionType</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Plane.html#Intersects(Microsoft.Xna.Framework.BoundingBox)">Intersects</A></B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A> box)</CODE>
|
|
|
|
<BR>
|
|
Checks whether the current Plane intersects a specified BoundingBox.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Plane.html#Intersects(Microsoft.Xna.Framework.BoundingBox, Microsoft.Xna.Framework.PlaneIntersectionType)">Intersects</A></B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A> box,
|
|
<A HREF="../../../Microsoft/Xna/Framework/PlaneIntersectionType.html" title="enum in Microsoft.Xna.Framework">PlaneIntersectionType</A> result)</CODE>
|
|
|
|
<BR>
|
|
Checks whether the current Plane intersects a BoundingBox.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../Microsoft/Xna/Framework/PlaneIntersectionType.html" title="enum in Microsoft.Xna.Framework">PlaneIntersectionType</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Plane.html#Intersects(Microsoft.Xna.Framework.BoundingSphere)">Intersects</A></B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A> sphere)</CODE>
|
|
|
|
<BR>
|
|
Checks whether the current Plane intersects a specified BoundingSphere.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Plane.html#Intersects(Microsoft.Xna.Framework.BoundingSphere, Microsoft.Xna.Framework.PlaneIntersectionType)">Intersects</A></B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A> sphere,
|
|
<A HREF="../../../Microsoft/Xna/Framework/PlaneIntersectionType.html" title="enum in Microsoft.Xna.Framework">PlaneIntersectionType</A> result)</CODE>
|
|
|
|
<BR>
|
|
Checks whether the current Plane intersects a BoundingSphere.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Plane.html#Normalize()">Normalize</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Changes the coefficients of the Normal vector of this Plane to make it of unit length.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../Microsoft/Xna/Framework/Plane.html" title="class in Microsoft.Xna.Framework">Plane</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Plane.html#Normalize(Microsoft.Xna.Framework.Plane)">Normalize</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Plane.html" title="class in Microsoft.Xna.Framework">Plane</A> value)</CODE>
|
|
|
|
<BR>
|
|
Changes the coefficients of the Normal vector of a Plane to make it of unit length.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Plane.html#Normalize(Microsoft.Xna.Framework.Plane, Microsoft.Xna.Framework.Plane)">Normalize</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Plane.html" title="class in Microsoft.Xna.Framework">Plane</A> value,
|
|
<A HREF="../../../Microsoft/Xna/Framework/Plane.html" title="class in Microsoft.Xna.Framework">Plane</A> result)</CODE>
|
|
|
|
<BR>
|
|
Changes the coefficients of the Normal vector of a Plane to make it of unit length.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.lang.String</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Plane.html#ToString()">ToString</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns a String that represents the current Plane.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../Microsoft/Xna/Framework/Plane.html" title="class in Microsoft.Xna.Framework">Plane</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Plane.html#Transform(Microsoft.Xna.Framework.Plane, Microsoft.Xna.Framework.Matrix)">Transform</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Plane.html" title="class in Microsoft.Xna.Framework">Plane</A> plane,
|
|
<A HREF="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</A> matrix)</CODE>
|
|
|
|
<BR>
|
|
Transforms a normalized Plane by a Matrix.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Plane.html#Transform(Microsoft.Xna.Framework.Plane, Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Plane)">Transform</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Plane.html" title="class in Microsoft.Xna.Framework">Plane</A> plane,
|
|
<A HREF="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</A> matrix,
|
|
<A HREF="../../../Microsoft/Xna/Framework/Plane.html" title="class in Microsoft.Xna.Framework">Plane</A> result)</CODE>
|
|
|
|
<BR>
|
|
Transforms a normalized Plane by a Matrix.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../Microsoft/Xna/Framework/Plane.html" title="class in Microsoft.Xna.Framework">Plane</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Plane.html#Transform(Microsoft.Xna.Framework.Plane, Microsoft.Xna.Framework.Quaternion)">Transform</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Plane.html" title="class in Microsoft.Xna.Framework">Plane</A> plane,
|
|
<A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> rotation)</CODE>
|
|
|
|
<BR>
|
|
Transforms a normalized Plane by a Quaternion rotation.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Plane.html#Transform(Microsoft.Xna.Framework.Plane, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Plane)">Transform</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Plane.html" title="class in Microsoft.Xna.Framework">Plane</A> plane,
|
|
<A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> rotation,
|
|
<A HREF="../../../Microsoft/Xna/Framework/Plane.html" title="class in Microsoft.Xna.Framework">Plane</A> result)</CODE>
|
|
|
|
<BR>
|
|
Transforms a normalized Plane by a Quaternion rotation.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE>clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<!-- ============ FIELD DETAIL =========== -->
|
|
|
|
<A NAME="field_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Field Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="Normal"><!-- --></A><H3>
|
|
Normal</H3>
|
|
<PRE>
|
|
public <A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A> <B>Normal</B></PRE>
|
|
<DL>
|
|
<DD>The normal vector of the Plane.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="D"><!-- --></A><H3>
|
|
D</H3>
|
|
<PRE>
|
|
public float <B>D</B></PRE>
|
|
<DL>
|
|
<DD>The distance of the Plane along its normal from the origin.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
|
|
<A NAME="constructor_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Constructor Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="Plane(float, float, float, float)"><!-- --></A><H3>
|
|
Plane</H3>
|
|
<PRE>
|
|
public <B>Plane</B>(float a,
|
|
float b,
|
|
float c,
|
|
float d)</PRE>
|
|
<DL>
|
|
<DD>Creates a new instance of Plane.
|
|
<P>
|
|
<DL>
|
|
<DT><B>Parameters:</B><DD><CODE>a</CODE> - X component of the normal defining the Plane.<DD><CODE>b</CODE> - Y component of the normal defining the Plane.<DD><CODE>c</CODE> - Z component of the normal defining the Plane.<DD><CODE>d</CODE> - Distance of the Plane along its normal from the origin.</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Plane(Microsoft.Xna.Framework.Vector3, float)"><!-- --></A><H3>
|
|
Plane</H3>
|
|
<PRE>
|
|
public <B>Plane</B>(<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A> normal,
|
|
float d)</PRE>
|
|
<DL>
|
|
<DD>Creates a new instance of Plane.
|
|
<P>
|
|
<DL>
|
|
<DT><B>Parameters:</B><DD><CODE>normal</CODE> - The normal vector to the Plane.<DD><CODE>d</CODE> - The Plane's distance along its normal from the origin.</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Plane(Microsoft.Xna.Framework.Vector4)"><!-- --></A><H3>
|
|
Plane</H3>
|
|
<PRE>
|
|
public <B>Plane</B>(<A HREF="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</A> value)</PRE>
|
|
<DL>
|
|
<DD>Creates a new instance of Plane.
|
|
<P>
|
|
<DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - Vector4 with X, Y, and Z components defining the normal of the Plane. The W component defines the distance of the Plane along the normal from the origin.</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Plane(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)"><!-- --></A><H3>
|
|
Plane</H3>
|
|
<PRE>
|
|
public <B>Plane</B>(<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A> point1,
|
|
<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A> point2,
|
|
<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A> point3)</PRE>
|
|
<DL>
|
|
<DD>Creates a new instance of Plane.
|
|
<P>
|
|
<DL>
|
|
<DT><B>Parameters:</B><DD><CODE>point1</CODE> - One point of a triangle defining the Plane.<DD><CODE>point2</CODE> - One point of a triangle defining the Plane.<DD><CODE>point3</CODE> - One point of a triangle defining the Plane.</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Plane()"><!-- --></A><H3>
|
|
Plane</H3>
|
|
<PRE>
|
|
public <B>Plane</B>()</PRE>
|
|
<DL>
|
|
<DD>Creates a new instance of Plane.
|
|
<P>
|
|
</DL>
|
|
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
|
|
<A NAME="method_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Method Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="Dot(Microsoft.Xna.Framework.Vector4)"><!-- --></A><H3>
|
|
Dot</H3>
|
|
<PRE>
|
|
public float <B>Dot</B>(<A HREF="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</A> value)</PRE>
|
|
<DL>
|
|
<DD>Calculates the dot product of a specified Vector4 and this Plane.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - The Vector4 to multiply this Plane by.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Dot(Microsoft.Xna.Framework.Vector4, float)"><!-- --></A><H3>
|
|
Dot</H3>
|
|
<PRE>
|
|
public void <B>Dot</B>(<A HREF="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</A> value,
|
|
float result)</PRE>
|
|
<DL>
|
|
<DD>Calculates the dot product of a specified Vector4 and this Plane.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - The Vector4 to multiply this Plane by.<DD><CODE>result</CODE> - [OutAttribute] The dot product of the specified Vector4 and this Plane.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="DotCoordinate(Microsoft.Xna.Framework.Vector3)"><!-- --></A><H3>
|
|
DotCoordinate</H3>
|
|
<PRE>
|
|
public float <B>DotCoordinate</B>(<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A> value)</PRE>
|
|
<DL>
|
|
<DD>Returns the dot product of a specified Vector3 and the Normal vector of this Plane plus the distance (D) value of the Plane.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - The Vector3 to multiply by.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="DotCoordinate(Microsoft.Xna.Framework.Vector3, float)"><!-- --></A><H3>
|
|
DotCoordinate</H3>
|
|
<PRE>
|
|
public void <B>DotCoordinate</B>(<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A> value,
|
|
float result)</PRE>
|
|
<DL>
|
|
<DD>Returns the dot product of a specified Vector3 and the Normal vector of this Plane plus the distance (D) value of the Plane.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - The Vector3 to multiply by.<DD><CODE>result</CODE> - [OutAttribute] The resulting value.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="DotNormal(Microsoft.Xna.Framework.Vector3)"><!-- --></A><H3>
|
|
DotNormal</H3>
|
|
<PRE>
|
|
public float <B>DotNormal</B>(<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A> value)</PRE>
|
|
<DL>
|
|
<DD>Returns the dot product of a specified Vector3 and the Normal vector of this Plane.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - The Vector3 to multiply by.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="DotNormal(Microsoft.Xna.Framework.Vector3, float)"><!-- --></A><H3>
|
|
DotNormal</H3>
|
|
<PRE>
|
|
public void <B>DotNormal</B>(<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A> value,
|
|
float result)</PRE>
|
|
<DL>
|
|
<DD>Returns the dot product of a specified Vector3 and the Normal vector of this Plane.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - The Vector3 to multiply by.<DD><CODE>result</CODE> - [OutAttribute] The resulting dot product.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
|
|
equals</H3>
|
|
<PRE>
|
|
public boolean <B>equals</B>(java.lang.Object obj)</PRE>
|
|
<DL>
|
|
<DD>Determines whether the specified Object is equal to the Plane.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>obj</CODE> - The Object to compare with the current Plane.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Equals(Microsoft.Xna.Framework.Plane)"><!-- --></A><H3>
|
|
Equals</H3>
|
|
<PRE>
|
|
public boolean <B>Equals</B>(<A HREF="../../../Microsoft/Xna/Framework/Plane.html" title="class in Microsoft.Xna.Framework">Plane</A> other)</PRE>
|
|
<DL>
|
|
<DD>Determines whether the specified Plane is equal to the Plane.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../System/IEquatable.html#Equals(T)">Equals</A></CODE> in interface <CODE><A HREF="../../../System/IEquatable.html" title="interface in System">IEquatable</A><<A HREF="../../../Microsoft/Xna/Framework/Plane.html" title="class in Microsoft.Xna.Framework">Plane</A>></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>other</CODE> - The Plane to compare with the current Plane.
|
|
<DT><B>Returns:</B><DD>true if the current object is equal to the other parameter; otherwise, false.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="hashCode()"><!-- --></A><H3>
|
|
hashCode</H3>
|
|
<PRE>
|
|
public int <B>hashCode</B>()</PRE>
|
|
<DL>
|
|
<DD>Gets the hash code for this object.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Overrides:</B><DD><CODE>hashCode</CODE> in class <CODE>java.lang.Object</CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Intersects(Microsoft.Xna.Framework.BoundingBox)"><!-- --></A><H3>
|
|
Intersects</H3>
|
|
<PRE>
|
|
public <A HREF="../../../Microsoft/Xna/Framework/PlaneIntersectionType.html" title="enum in Microsoft.Xna.Framework">PlaneIntersectionType</A> <B>Intersects</B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A> box)</PRE>
|
|
<DL>
|
|
<DD>Checks whether the current Plane intersects a specified BoundingBox.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>box</CODE> - The BoundingBox to test for intersection with.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Intersects(Microsoft.Xna.Framework.BoundingSphere)"><!-- --></A><H3>
|
|
Intersects</H3>
|
|
<PRE>
|
|
public <A HREF="../../../Microsoft/Xna/Framework/PlaneIntersectionType.html" title="enum in Microsoft.Xna.Framework">PlaneIntersectionType</A> <B>Intersects</B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A> sphere)</PRE>
|
|
<DL>
|
|
<DD>Checks whether the current Plane intersects a specified BoundingSphere.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>sphere</CODE> - The BoundingSphere to check for intersection with.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Intersects(Microsoft.Xna.Framework.BoundingBox, Microsoft.Xna.Framework.PlaneIntersectionType)"><!-- --></A><H3>
|
|
Intersects</H3>
|
|
<PRE>
|
|
public void <B>Intersects</B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingBox.html" title="class in Microsoft.Xna.Framework">BoundingBox</A> box,
|
|
<A HREF="../../../Microsoft/Xna/Framework/PlaneIntersectionType.html" title="enum in Microsoft.Xna.Framework">PlaneIntersectionType</A> result)</PRE>
|
|
<DL>
|
|
<DD>Checks whether the current Plane intersects a BoundingBox.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>box</CODE> - The BoundingBox to check for intersection with.<DD><CODE>result</CODE> - [OutAttribute] An enumeration indicating whether the Plane intersects the BoundingBox.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Intersects(Microsoft.Xna.Framework.BoundingSphere, Microsoft.Xna.Framework.PlaneIntersectionType)"><!-- --></A><H3>
|
|
Intersects</H3>
|
|
<PRE>
|
|
public void <B>Intersects</B>(<A HREF="../../../Microsoft/Xna/Framework/BoundingSphere.html" title="class in Microsoft.Xna.Framework">BoundingSphere</A> sphere,
|
|
<A HREF="../../../Microsoft/Xna/Framework/PlaneIntersectionType.html" title="enum in Microsoft.Xna.Framework">PlaneIntersectionType</A> result)</PRE>
|
|
<DL>
|
|
<DD>Checks whether the current Plane intersects a BoundingSphere.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>sphere</CODE> - The BoundingSphere to check for intersection with.<DD><CODE>result</CODE> - [OutAttribute] An enumeration indicating whether the Plane intersects the BoundingSphere.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Normalize()"><!-- --></A><H3>
|
|
Normalize</H3>
|
|
<PRE>
|
|
public void <B>Normalize</B>()</PRE>
|
|
<DL>
|
|
<DD>Changes the coefficients of the Normal vector of this Plane to make it of unit length.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Normalize(Microsoft.Xna.Framework.Plane)"><!-- --></A><H3>
|
|
Normalize</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../Microsoft/Xna/Framework/Plane.html" title="class in Microsoft.Xna.Framework">Plane</A> <B>Normalize</B>(<A HREF="../../../Microsoft/Xna/Framework/Plane.html" title="class in Microsoft.Xna.Framework">Plane</A> value)</PRE>
|
|
<DL>
|
|
<DD>Changes the coefficients of the Normal vector of a Plane to make it of unit length.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - The Plane to normalize.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Normalize(Microsoft.Xna.Framework.Plane, Microsoft.Xna.Framework.Plane)"><!-- --></A><H3>
|
|
Normalize</H3>
|
|
<PRE>
|
|
public static void <B>Normalize</B>(<A HREF="../../../Microsoft/Xna/Framework/Plane.html" title="class in Microsoft.Xna.Framework">Plane</A> value,
|
|
<A HREF="../../../Microsoft/Xna/Framework/Plane.html" title="class in Microsoft.Xna.Framework">Plane</A> result)</PRE>
|
|
<DL>
|
|
<DD>Changes the coefficients of the Normal vector of a Plane to make it of unit length.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - The Plane to normalize.<DD><CODE>result</CODE> - [OutAttribute] An existing plane Plane filled in with a normalized version of the specified plane.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="ToString()"><!-- --></A><H3>
|
|
ToString</H3>
|
|
<PRE>
|
|
public java.lang.String <B>ToString</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns a String that represents the current Plane.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Transform(Microsoft.Xna.Framework.Plane, Microsoft.Xna.Framework.Matrix)"><!-- --></A><H3>
|
|
Transform</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../Microsoft/Xna/Framework/Plane.html" title="class in Microsoft.Xna.Framework">Plane</A> <B>Transform</B>(<A HREF="../../../Microsoft/Xna/Framework/Plane.html" title="class in Microsoft.Xna.Framework">Plane</A> plane,
|
|
<A HREF="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</A> matrix)</PRE>
|
|
<DL>
|
|
<DD>Transforms a normalized Plane by a Matrix.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>plane</CODE> - The normalized Plane to transform. This Plane must already be normalized, so that its Normal vector is of unit length, before this method is called.<DD><CODE>matrix</CODE> - The transform Matrix to apply to the Plane.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Transform(Microsoft.Xna.Framework.Plane, Microsoft.Xna.Framework.Quaternion)"><!-- --></A><H3>
|
|
Transform</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../Microsoft/Xna/Framework/Plane.html" title="class in Microsoft.Xna.Framework">Plane</A> <B>Transform</B>(<A HREF="../../../Microsoft/Xna/Framework/Plane.html" title="class in Microsoft.Xna.Framework">Plane</A> plane,
|
|
<A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> rotation)</PRE>
|
|
<DL>
|
|
<DD>Transforms a normalized Plane by a Quaternion rotation.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>plane</CODE> - The normalized Plane to transform. This Plane must already be normalized, so that its Normal vector is of unit length, before this method is called.<DD><CODE>rotation</CODE> - The Quaternion rotation to apply to the Plane.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Transform(Microsoft.Xna.Framework.Plane, Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Plane)"><!-- --></A><H3>
|
|
Transform</H3>
|
|
<PRE>
|
|
public static void <B>Transform</B>(<A HREF="../../../Microsoft/Xna/Framework/Plane.html" title="class in Microsoft.Xna.Framework">Plane</A> plane,
|
|
<A HREF="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</A> matrix,
|
|
<A HREF="../../../Microsoft/Xna/Framework/Plane.html" title="class in Microsoft.Xna.Framework">Plane</A> result)</PRE>
|
|
<DL>
|
|
<DD>Transforms a normalized Plane by a Matrix.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>plane</CODE> - The normalized Plane to transform. This Plane must already be normalized, so that its Normal vector is of unit length, before this method is called.<DD><CODE>matrix</CODE> - The transform Matrix to apply to the Plane.<DD><CODE>result</CODE> - [OutAttribute] An existing Plane filled in with the results of applying the transform.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Transform(Microsoft.Xna.Framework.Plane, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Plane)"><!-- --></A><H3>
|
|
Transform</H3>
|
|
<PRE>
|
|
public static void <B>Transform</B>(<A HREF="../../../Microsoft/Xna/Framework/Plane.html" title="class in Microsoft.Xna.Framework">Plane</A> plane,
|
|
<A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> rotation,
|
|
<A HREF="../../../Microsoft/Xna/Framework/Plane.html" title="class in Microsoft.Xna.Framework">Plane</A> result)</PRE>
|
|
<DL>
|
|
<DD>Transforms a normalized Plane by a Quaternion rotation.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>plane</CODE> - The normalized Plane to transform. This Plane must already be normalized, so that its Normal vector is of unit length, before this method is called.<DD><CODE>rotation</CODE> - The Quaternion rotation to apply to the Plane.<DD><CODE>result</CODE> - [OutAttribute] An existing Plane filled in with the results of applying the rotation.</DL>
|
|
</DD>
|
|
</DL>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<HR>
|
|
|
|
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<A NAME="navbar_bottom"><!-- --></A>
|
|
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Plane.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework"><B>PREV CLASS</B></A>
|
|
<A HREF="../../../Microsoft/Xna/Framework/PlaneIntersectionType.html" title="enum in Microsoft.Xna.Framework"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../index.html?Microsoft/Xna/Framework/Plane.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="Plane.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
</NOSCRIPT>
|
|
|
|
|
|
</FONT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_bottom"></A>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
|
|
<HR>
|
|
|
|
</BODY>
|
|
</HTML>
|