Codota Logo
ViewFrustum.intersects
Code IndexAdd Codota to your IDE (free)

How to use
intersects
method
in
org.deegree.rendering.r3d.ViewFrustum

Best Java code snippets using org.deegree.rendering.r3d.ViewFrustum.intersects (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ArrayList a =
  • Codota Iconnew ArrayList<String>()
  • Codota Iconnew ArrayList()
  • Codota Iconnew ArrayList<Object>()
  • Smart code suggestions by Codota
}
origin: deegree/deegree3

private boolean isInViewVolume( Arc arc ) {
  float[][] scaledBBox = arc.getBBox();
  scaledBBox[0][2] *= zScale;
  scaledBBox[1][2] *= zScale;
  return viewRegion.intersects( scaledBBox );
}
origin: deegree/deegree3

/**
 * Determines if this arc interferes with the given {@link Geometry}.
 * 
 * @param roi
 *            geometry that is tested for interference
 * @param zScale
 *            scaling factor applied to z values of the mesh geometry (and bounding boxes)
 * @return true, if the arc interferes with the geometry, false otherwise
 */
public boolean interferes( ViewFrustum roi, float zScale ) {
  float[][] nodeBBox = getBBox();
  nodeBBox[0][2] *= zScale;
  nodeBBox[1][2] *= zScale;
  return roi.intersects( nodeBBox );
}
origin: deegree/deegree3

private void getObjects( ViewParams viewParams, float[] eye, Set<T> result ) {
  if ( viewParams.getViewFrustum().intersects( getEnvelope() ) ) {
    if ( hasCoveringObjects() ) {
      for ( Entry<T> obj : objectsCoveringEnv ) {
            double estPixelSize = viewParams.estimatePixelSizeForSpaceUnit( distance );
            boolean noPixelError = ( obj.entryValue.getErrorScalar() * estPixelSize ) > maxPixelError;
            boolean intersects = viewParams.getViewFrustum().intersects( obj.entryEnv );
            if ( noPixelError && intersects ) {
              result.add( obj.entryValue );
org.deegree.rendering.r3dViewFrustumintersects

Popular methods of ViewFrustum

  • getEyePos
  • getFOVY
  • getLookingAt
  • getUp
  • getZFar
  • getZNear
  • <init>
    Create a viewFrustum from the given parameters.
  • calcObserPosition
    Calculate the position of the viewer regarding the yaw and the pitch.
  • calcUp
    The up vector only depends on the roll
  • intersectsFrustum
  • moveForward
    Move the viewfrustum to the forward (according to the view direction).
  • moveRight
    Move the viewfrustum to the right (according to the view direction).
  • moveForward,
  • moveRight,
  • moveUp,
  • rotate,
  • rotateX,
  • rotateY,
  • rotateZ,
  • setCameraParams,
  • setPerspectiveParams

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setScale (BigDecimal)
  • getContentResolver (Context)
  • getSystemService (Context)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now