<commit_before>package org.glob3.mobile.generated; 
//
//  Plane.cpp
//  G3MiOSSDK
//
//  Created by <NAME> on 14/07/12.
//  Copyright (c) 2012 Universidad de Las Palmas. All rights reserved.
//

//
//  Plane.h
//  G3MiOSSDK
//
//  Created by <NAME> on 14/07/12.
//  Copyright (c) 2012 Universidad de Las Palmas. All rights reserved.
//



public class Plane
{
  private final Vector3D _normal ;
  private final double _d;

  private Vector3F _normalF;
  private float _dF;


  public Plane()
  {
     _normal = new Vector3D(0, 0, 0);
     _d = 0;
     _normalF = new <type missing>(0, 0, 0);
     _dF = 0F;
  }

  public static Plane fromPoints(Vector3D point0, Vector3D point1, Vector3D point2)
  {
    final Vector3D normal = point1.sub(point0).cross(point2.sub(point0)).normalized();
    final double d = -normal.dot(point0);
    return new Plane(normal, d);
  }

  public Plane(Vector3D normal, double d)
  {
     _normal = new Vector3D(normal.normalized());
     _d = d;
     _normalF = new Vector3F((float) normal._x, (float) normal._y, (float) normal._z).normalized();
     _dF = (float) d;
  }

  public Plane(double a, double b, double c, double d)
  {
     _normal = new Vector3D(new Vector3D(a,b,c).normalized());
     _d = d;
     _normalF = new Vector3F((float) a, (float) b, (float) c).normalized();
     _dF = (float) d;
  }

  public Plane(Plane that)
  {
     _normal = new Vector3D(that._normal);
     _d = that._d;
     _normalF = that._normalF;
     _dF = that._dF;<commit_msg>Generated<commit_after>package org.glob3.mobile.generated; 
//
//  Plane.cpp
//  G3MiOSSDK
//
//  Created by <NAME> on 14/07/12.
//  Copyright (c) 2012 Universidad de Las Palmas. All rights reserved.
//

//
//  Plane.h
//  G3MiOSSDK
//
//  Created by <NAME> on 14/07/12.
//  Copyright (c) 2012 Universidad de Las Palmas. All rights reserved.
//



public class Plane
{
  private final Vector3D _normal ;
  private final double _d;

  private final Vector3F _normalF = new Vector3F();
  private final float _dF;


  public Plane()
  {
     _normal = new Vector3D(0, 0, 0);
     _d = 0;
     _normalF = new Vector3F(0, 0, 0);
     _dF = 0F;

  }

  public static Plane fromPoints(Vector3D point0, Vector3D point1, Vector3D point2)
  {
    final Vector3D normal = point1.sub(point0).cross(point2.sub(point0)).normalized();
    final double d = -normal.dot(point0);
    return new Plane(normal, d);
  }

  public Plane(Vector3D normal, double d)
  {
     _normal = new Vector3D(normal.normalized());
     _d = d;
     _normalF = new Vector3F(new Vector3F((float) normal._x, (float) normal._y, (float) normal._z).normalized());
     _dF = (float) d;
  }

  public Plane(double a, double b, double c, double d)
  {
     _normal = new Vector3D(new Vector3D(a,b,c).normalized());
     _d = d;
     _normalF = new Vector3F(new Vector3F((float) a, (float) b, (float) c).normalized());
     _dF = (float) d;
  }

  public Plane(Plane that)
  {
     _normal = new Vector3D(that._normal);
     _d = that._d;
     _normalF = new Vector3F(that._normalF);
     _dF = that._dF;
{'fraction_non_alphanumeric': 0.13570961412688032, 'fraction_numerical': 0.03629823413996076, 'mean_word_length': 2.781211372064277, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '136797', 'n_tokens_mistral': 1216, 'n_tokens_neox': 1143, 'n_words': 305}